Commit graph

585125 commits

Author SHA1 Message Date
Linux Build Service Account
1e8643fd19 Merge "ARM: dts: msm: Move imgswap setting to target specific config" 2017-03-09 10:13:36 -08:00
Linux Build Service Account
a9dd7b68c7 Merge "msm: sde: Wait for Rotator HW complete if stop streaming timeout" 2017-03-09 10:13:36 -08:00
Linux Build Service Account
fd8b1eca93 Merge "msm: mdss: initialize the DP thread structures before kthread_run" 2017-03-09 10:13:35 -08:00
Linux Build Service Account
931760401f Merge "msm: qpnp-haptic: Add support for haptics on PM660" 2017-03-09 10:13:34 -08:00
Linux Build Service Account
c299352b93 Merge "mmc: host: cmdq-hci-ice: Clear ICE configuration once request is done" 2017-03-09 10:13:33 -08:00
Linux Build Service Account
a83d5deddb Merge "mmc: host: sdhci-msm-ice: Support for clearing ice configuration" 2017-03-09 10:13:33 -08:00
Linux Build Service Account
8d7e3b67c7 Merge "drivers: lmh_dcvsh: Use allocated variable for LMH DCVSh sensor name" 2017-03-09 10:13:32 -08:00
Linux Build Service Account
9c1ecc8488 Merge "input: touchscreen: remove data pointer from driver structure" 2017-03-09 10:13:31 -08:00
Linux Build Service Account
a0a0cf2298 Merge "msm: camera: sensor: Do not dump the CCI registers" 2017-03-09 10:13:30 -08:00
Linux Build Service Account
647076b679 Merge "msm: mdss: update check bw check for ab/ib" 2017-03-09 02:05:04 -08:00
Linux Build Service Account
9b2a9f7ceb Merge "icnss: Remove WARN_ON" 2017-03-09 02:05:03 -08:00
Linux Build Service Account
3fd9920718 Merge "ARM: dts: msm: enable dynamic fps for nt35597 truly panel on sdm660" 2017-03-09 02:05:02 -08:00
Linux Build Service Account
413df00c0d Merge "msm: mdss: add HW recommended delay for dfps feature." 2017-03-09 02:05:01 -08:00
Linux Build Service Account
6b2024dad5 Merge "tracing: Free saved_tgids memory in free_saved_cmdlines_buffer" 2017-03-09 02:05:00 -08:00
Linux Build Service Account
f267f30d30 Merge "usb: gadget: f_gsi: Fix NULL ptr dereference" 2017-03-09 02:05:00 -08:00
Linux Build Service Account
20f778e413 Merge "qseecom: return app_id correctly when looking up and loading app" 2017-03-09 02:04:59 -08:00
Linux Build Service Account
c7692d37b0 Merge "usb: gadget: f_fs: Fix out-of-bounds string access" 2017-03-09 02:04:58 -08:00
Linux Build Service Account
3016067a56 Merge "msm: qpnp-haptic: Disable auto resonance on LRA frequency deviation" 2017-03-09 02:04:57 -08:00
Linux Build Service Account
8ca3301f72 Merge "ARM: dts: msm: set pm660 L6/L9/L19 to not follow HW_EN1 for wcn3990" 2017-03-09 02:04:57 -08:00
Linux Build Service Account
5b5c261ad2 Merge "ARM: dts: msm: No need to disable CXIP LM feature in KTM for sdm630" 2017-03-09 02:04:56 -08:00
Linux Build Service Account
515ac74e00 Merge "clk: qcom: Fix null pointer exception" 2017-03-09 02:04:55 -08:00
Veerabhadrarao Badiganti
16b307790b mmc: host: cmdq-hci-ice: Clear ICE configuration once request is done
Clear ICE configuration once cmdq request processing is done.
This ensures that the key information is cleared by ICE driver.
This call is optional for FDE but required for FBE.

Change-Id: I231ca849aa34c156baa45fceae95debf46dd57f0
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-03-08 23:05:15 -08:00
Veerabhadrarao Badiganti
f2d322f387 mmc: host: sdhci-msm-ice: Support for clearing ice configuration
Adding support for clearing ice configuration.
Once mmc request processing is completed, mmc driver has to
call config_end to ensure key information is cleared by ICE
driver. This call is optional for FDE but required for FBE.

Change-Id: I8c225deda782528a7f220f7d1f81c6240caca1ae
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-03-09 12:30:36 +05:30
Ankit Sharma
3dde7b3e01 msm: qpnp-haptic: Add support for haptics on PM660
Update the driver to support PM660. PM660 add dedicated
register for auto-resonance control and a few other changes
to haptics configuration.

CRs-Fixed: 2016588
Change-Id: Ia9d65bc0a1169b5cba1c122d50d49c8102ac79f5
Signed-off-by: Ankit Sharma <ansharma@codeaurora.org>
2017-03-09 12:09:24 +05:30
Omprakash Dhyade
7005c6eec7 tracing: Free saved_tgids memory in free_saved_cmdlines_buffer
saved_tgids memory was not freed in free_saved_cmdlines_buffer
which can cause memory-leak when /d/tracing/saved_cmdlines_size
node value is changed. Fix it by freeing saved_tgids
in free_saved_cmdlines_buffer.

Change-Id: I006870c858b7306b7d9c840b7712061985dda310
Signed-off-by: Omprakash Dhyade <odhyade@codeaurora.org>
2017-03-08 16:06:31 -08:00
Linux Build Service Account
9bf700385d Merge "mmc: host: sdhci: Add new host_op for clearing ice configuration" 2017-03-08 15:47:28 -08:00
Linux Build Service Account
ac5d625313 Merge "ARM: dts: msm: Add kaslr offset IMEM entry for sdm630" 2017-03-08 15:47:26 -08:00
Linux Build Service Account
05da21ee3d Merge "ARM: dts: msm: enable SSC based sensors for QRD SDM630" 2017-03-08 15:47:25 -08:00
Linux Build Service Account
b9be5e00ae Merge "ARM: dts: msm: Enable Cx ipeak support from multimedia clients on SDM660" 2017-03-08 15:47:25 -08:00
Linux Build Service Account
d1a412e9b1 Merge "ASoC: codecs: Fix override of codec driver private data" 2017-03-08 15:47:24 -08:00
Linux Build Service Account
349f3344e5 Merge "ASoC: msm: Fix invalid access of codec pointer" 2017-03-08 15:47:23 -08:00
Linux Build Service Account
3e0acafdee Merge "qcom: smb-lib: force 9V for QC2.0 adapter" 2017-03-08 15:47:22 -08:00
Linux Build Service Account
1969f8fe9d Merge "arm64: Remove orig_addr_limit check in do_page_fault" 2017-03-08 15:47:21 -08:00
Linux Build Service Account
2e21181dde Merge "msm: ipa: Fix updating the repl_trig_thresh for LAN_CONS" 2017-03-08 15:47:20 -08:00
Linux Build Service Account
5457ac37d1 Merge "clk: qcom: Add separate aggre2_noc clock voters for SDM660/630" 2017-03-08 15:47:20 -08:00
Linux Build Service Account
b4659fbb0d Merge "USB: composite: Fix double release of spin_unlock_irqsave" 2017-03-08 15:47:19 -08:00
Linux Build Service Account
b8db96118b Merge "defconfig: msm: Enable Cx ipeak driver for SDM660" 2017-03-08 15:47:18 -08:00
Linux Build Service Account
91c39199b1 Merge "watchdog: Induce non secure watchdog bite for lockup" 2017-03-08 15:47:17 -08:00
Hemant Kumar
e45656bfce usb: gadget: f_gsi: Fix NULL ptr dereference
When usb composition switch happens upon cable disconnect and
function bind fails, function's config pointer is set to NULL.
This is resulting in to NULL ptr dereference when config is
accessed from APIs which are called asynchronously and out
side of the usb core driver(i.e. dwc3) context. Fix the
issue by directly accessing gadget pointer from gsi driver
context in those APIs.

Change-Id: I1006881ae1838e8ddc8fa5e9ef501f4c658b54e7
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-03-08 13:35:09 -08:00
Jack Pham
261c9dda82 usb: gadget: f_fs: Fix out-of-bounds string access
At the end of ffs_epfiles_create() a message is logged with
the name of the epfile, however this epfile pointer is only
valid in the body of the preceding for-loop. After the loop
exits, it is now pointing one past the allocated array and
results in an out-of-bounds memory access when formatting
the string.

Since there could be multiple ep's created, the name may not
be important to log. Replace it with the count instead. Also
while ffs_epfiles_destroy() doesn't have the same problem,
do the same there anyway for symmetry.

Change-Id: I10551f9c1e056f215ec59335cbf1cde2bad6cc04
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2017-03-08 09:52:54 -08:00
Linux Build Service Account
c78ba94d64 Merge "diag: Add NULL pointer checks in mask updates" 2017-03-08 06:51:07 -08:00
Linux Build Service Account
405c831196 Merge "soc: qcom: Free qmi handle in a worker thread" 2017-03-08 06:51:06 -08:00
Linux Build Service Account
70e1d5859a Merge "supply: qcom: add battery.o earlier" 2017-03-08 06:51:05 -08:00
Linux Build Service Account
bfc0e4b108 Merge "ARM: dts: msm: Enable Short-Circuit (SC) interrupt for LCDB on PM660L" 2017-03-08 06:51:04 -08:00
Linux Build Service Account
3a5e2a2080 Merge "msm: ADSPRPC: Handle SSR, daemon kill for audio PD" 2017-03-08 06:51:03 -08:00
Neeraj Upadhyay
a1d6abf78d ARM: dts: msm: Add kaslr offset IMEM entry for sdm630
Enable the msm-imem-kaslr_offset node for sdm630
which preserve the randomized kernel offset.

Change-Id: Icb4b6a94a702f07b99513ebd16ebc949b49d919c
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2017-03-08 16:23:34 +05:30
Ankit Sharma
1450b9c7da msm: qpnp-haptic: Disable auto resonance on LRA frequency deviation
Disable Auto-resonance if calibrated LRA frequency deviates more
than +/- 25% of initial LRA frequency and change error polling
frequency to 20ms.

While at it, fix the calculation of deviation error percent for
LRA rate code.

CRs-Fixed: 1099718
Change-Id: I329415992d3932e389e95995c1503c15ba282b19
Signed-off-by: Ankit Sharma <ansharma@codeaurora.org>
2017-03-08 13:30:31 +05:30
Bingzhe Cai
ec53c2750d ARM: dts: msm: enable SSC based sensors for QRD SDM630
Add device node for SSC sensor device for QRD SDM630.
It allows userspace client to read sensor related
information.

Change-Id: I9913274b778cdc4b148cfff2388da0642094b2b0
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
2017-03-08 13:26:16 +08:00
Rupesh Tatiya
04123e01e2 ARM: dts: msm: set pm660 L6/L9/L19 to not follow HW_EN1 for wcn3990
There is leakage of ~300-400uA current in Bluetooth page scan scenarios
when L6/L9/L19 follow HW_EN1.

CRs-Fixed: 2011978
Change-Id: I1940c6c4638ae588b1b8126967d252d7cad06a51
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
2017-03-08 09:14:50 +05:30
Veerabhadrarao Badiganti
a7291efc55 mmc: host: sdhci: Add new host_op for clearing ice configuration
Add new host op for clearing ice configuration.
This config_end host op need to invoked for clearing ice configuration,
once mmc request processing is completed.

Change-Id: Ifc5569ae88748599b75ef5b3e625249ecd667762
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-03-08 07:33:59 +05:30