Commit graph

573562 commits

Author SHA1 Message Date
Linux Build Service Account
88be552e93 Merge "msm: gsi: enable wake irq" 2016-08-18 12:04:10 -07:00
Linux Build Service Account
5d7006369d Merge "msm: ipa: fix potential NULL deference on SMMU" 2016-08-18 12:04:10 -07:00
Linux Build Service Account
5f8a0f6a47 Merge "sound: usb: Treat find format failure as error" 2016-08-18 12:04:09 -07:00
Linux Build Service Account
7d02888951 Merge "ARM: msmcortex_defconfig: enable vendor device specific HID support" 2016-08-18 12:04:06 -07:00
Linux Build Service Account
4aed4b6662 Merge "ARM: dts: msm: Fix regulator name for pmicobalt flash" 2016-08-18 12:04:03 -07:00
Linux Build Service Account
b1f1685bb7 Merge "leds: qpnp-flash-v2: Add support for LMH mitigation" 2016-08-18 12:04:01 -07:00
Linux Build Service Account
ebbe5c8d48 Merge "input: touchscreen: remove PRESSURE event from ft5x06 driver" 2016-08-18 12:03:57 -07:00
Linux Build Service Account
c3afa9bef9 Merge "input: ft5x06_ts: Upgrade firmware based on version" 2016-08-18 12:03:56 -07:00
Linux Build Service Account
cfa9893e4a Merge "input: ft5x06_ts: Parse board specific parameters from pdata" 2016-08-18 12:03:55 -07:00
Linux Build Service Account
6e22b01c91 Merge "input: touchscreen: Goodix gt915 driver cleanup" 2016-08-18 12:03:54 -07:00
Linux Build Service Account
a18fa34ff2 Merge "input: msg21xx_ts: Mstar touch driver optimization" 2016-08-18 12:03:54 -07:00
Linux Build Service Account
86f3aea3e0 Merge "soc: qcom: smem: Renaming smem item SMEM_SMEM_SLOW_CLOCK_SYNC" 2016-08-18 12:03:53 -07:00
Linux Build Service Account
fa0dc60444 Merge "ARM: dts: msm: add SSC to MDSS DSI PLL for msmcobalt" 2016-08-18 04:59:22 -07:00
Linux Build Service Account
6d2d0bbeba Merge "ASoC: msm: Enable use of noirq playback and capture" 2016-08-18 04:59:21 -07:00
Linux Build Service Account
a6adf04605 Merge "ARM: dts: msm: Add new pcm device node for msmcobalt" 2016-08-18 04:59:20 -07:00
Linux Build Service Account
e14fcb2cff Merge "soc: qcom: irq-helper: Change the sysfs print function" 2016-08-18 04:59:20 -07:00
Linux Build Service Account
b88ee6f933 Merge "spcom: avoid false error message on spcom_device_release()" 2016-08-18 04:59:15 -07:00
Linux Build Service Account
b2397d388f Merge "NFC: Fix unbalanced irq warning stack trace" 2016-08-18 04:59:14 -07:00
Linux Build Service Account
559e948c14 Merge "quick selinux support for tracefs" 2016-08-18 04:59:13 -07:00
Linux Build Service Account
48025d57b5 Merge "defconfig: msm: Create new defconfig for msmfalcon" 2016-08-18 04:59:12 -07:00
Linux Build Service Account
947004a614 Merge "ASoC: wcd_cpe_services: Process detection events in SEND state" 2016-08-17 20:28:44 -07:00
Linux Build Service Account
22ca7c4d13 Merge "mfd: wcd9xxx-slimslave: Add playback support for 44.1KHz multiples" 2016-08-17 20:28:43 -07:00
Linux Build Service Account
c07b149eee Merge "usb: pd: Fix ERROR_RECOVERY handling" 2016-08-17 20:28:42 -07:00
Linux Build Service Account
bd641c5b2b Merge "usb: pd: Improve timing accuracy" 2016-08-17 20:28:41 -07:00
Linux Build Service Account
f4bdb94431 Merge "usb: qmp: phy: Make sure QMP PHY write completed" 2016-08-17 20:28:41 -07:00
Linux Build Service Account
893c3bc29f Merge "regulator: cpr3-regulator: support disabling CPRh hardware closed-loop" 2016-08-17 20:28:40 -07:00
Linux Build Service Account
53b57a765f Merge "scsi: ufs: disable ah8 during suspend and enable it on resume" 2016-08-17 20:28:39 -07:00
Linux Build Service Account
7232046f64 Merge "scsi: ufs: optimize clock gate work" 2016-08-17 20:28:38 -07:00
Linux Build Service Account
3c240cf2be Merge "slim-msm: Handling resources during port de-allocation" 2016-08-17 20:28:38 -07:00
Linux Build Service Account
d5456c5703 Merge "ARM: dts: msm: Remove clocks listed under video and camera GDSC nodes" 2016-08-17 20:28:37 -07:00
Linux Build Service Account
2165532d6e Merge "msm: sde: shutoff memory and periphery when clock is off" 2016-08-17 20:28:36 -07:00
Bingzhe Cai
07d93257c6 input: touchscreen: remove PRESSURE event from ft5x06 driver
There is no need to send ABS_MT_PRESSURE event when contact is
removed from touchscreen, this redundant event will confuse some
APP and cause malfunction.

This patch is propagated from msm-3.18 kernel
'commit 75184ddcf2d1 ("input: touchscreen: remove PRESSURE event
from ft5x06 driver")'

CRs-Fixed: 537993
Change-Id: Ie2aef79f99cb80c10706f832cfab583ba742fdf1
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
2016-08-17 17:07:57 +05:30
Mohan Pallaka
bf71f01cc7 input: ft5x06_ts: Upgrade firmware based on version
Upgrade firmware on the controller only when a new
version of firmware is available.

This patch is propagated from msm-3.18 kernel
'commit 88d102ef081f ("input: ft5x06_ts: Upgrade
firmware based on version")'

Change-Id: I4cf75b3c5efb90f151da09ed73b1ba62b9b5bb1c
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2016-08-17 16:59:15 +05:30
Mohan Pallaka
72436be454 input: ft5x06_ts: Parse board specific parameters from pdata
To support all models supported by focaltech push necessary
parameters to platform data.

This patch is propagated from msm-3.18 kernel
'commit 473f8cd84f93 ("input: ft5x06_ts: Parse board specific
parameters from pdata")'

Also fix the below checkpatch warnings on 3.18 Kernel.
WARNING: Possible unnecessary 'out of memory' message
+       if (!data) {
+               dev_err(&client->dev, "Not enough memory\n");

WARNING: Possible unnecessary 'out of memory' message
+       if (!data->ts_info) {
+               dev_err(&client->dev, "Not enough memory\n");

Change-Id: I00b0e8ba7cfc8d8fbd48aa910bd3d0010283ed00
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-08-17 16:53:44 +05:30
Mohan Pallaka
cb040c2f61 input: ft5x06_ts: Add firmware upgrade support for ft6x06
Focaltech 6x06 controller series uses a different reset
register compared to earlier supported controllers. Use
appropriate reset registers based on controller's id.

This patch is propagated from 3.18 kernel
'commit 88dd4c27a3f6 ("input: ft5x06_ts: Add firmware
upgrade support for ft6x06")'

Change-Id: Ia72fa9c256f9e6e2db79388b0152f4d6724ec457
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2016-08-17 16:47:23 +05:30
Figo Wang
8f5d6d8fd0 input: touchpanel: fix the number of touch events detection
Focaltech controllers can reports the number of touch points by read
"TD_STATUS" register. Read this register to avoid always looping
through maximum number of touches supported.

This patch is propagated from 3.18 kernel
'commit 4c142d16fced ("input: touchpanel: fix the number of touch
events detection")'

Change-Id: I8ab111b56b2074cb52cb021d37e9e6505c8b7c72
Signed-off-by: Figo Wang <figow@codeaurora.org>
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
2016-08-17 16:41:53 +05:30
Mohan Pallaka
e6d2a8e4bb input: ft5x06_ts: Disable regulators in suspend
Disable/enable the regulators in suspend/resume to
have better power savings.

This patch is propagated from 3.18 kernel
'commit 550c106ea1a3 ("input: ft5x06_ts: Disable
regulators in suspend")'

Change-Id: I8aa7e941f20040955d6cc177e70ed38dbd28af8c
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2016-08-17 16:36:42 +05:30
Shantanu Jain
faca745b0b input: ft5x06_ts: Handle error if i2c read fails
Handle error if i2c read fails and undo other
probe initializations.

This patch is propagated from 3.18 kernel
'commit 0123456789ab ("input: ft5x06_ts: Handle error if
i2c read fails")'

Change-Id: I26180b057b45f4dad123dd3581e5c5f2b33a32aa
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-17 16:32:08 +05:30
Figo Wang
849d4f3c1c input: touchpanel: Release all touches during suspend
Release all the touches before going to suspend to avoid
sticky touches and correct multitouch ID error.

This patch is propagated from 3.18 kernel 'commit 8a123ff1f64b
("input: touchpanel: Release all touches during suspend")'

Change-Id: I5dd84d44478291e16fd577aad5cf06503e44fbde
Signed-off-by: Figo Wang <figow@codeaurora.org>
2016-08-17 15:58:56 +05:30
Mohan Pallaka
c72652e02f input: ft5x06_ts: Add debugfs entry for dump info
Add a debugfs entry to display information about controller to the user.
Also have cleared the checkpatch errors on 3.18

This patch is propagated from 3.18 kernel 'commit 71e8bfde1da8 ("input:
ft5x06_ts: Add debugfs entry for dump info")'

Change-Id: I075501fefe1984533139ecca65af92f3c0ab8b97
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-08-17 15:48:34 +05:30
Mohan Pallaka
19bdb8e2d1 input: ft5x06_ts: Add support for protocol B
Focaltech touchscreen chips can use MT protocol B
because they can assign unique id to ABS_MT_TRACKING_ID
from finger id provided by hardware.

This patch is propagated from 3.18 kernel
'commit 836a4745d978 ("input: ft5x06_ts: Add support
for protocol B")'

Change-Id: I7f236d819eb805934e12faedaf84407b9de95c0e
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-16 22:12:04 -07:00
Gaurav Singhal
6f13460739 NFC: Fix unbalanced irq warning stack trace
When NFC is not enabled, IRQ will be disabled and
then if we do suspend/resume wake up functionality
won't be enabled at suspend but we try to disable
the same at resume and cause irq warning.

Fix warning trace in below cases :
1) NFC enabled in makefile, but manually turned off in
   settings menu (NFC driver is enabled and hw is present).
2) NFC is not enabled in makefile
   (NFC driver is enabled and hw is present).

Change-Id: I0fd76809cd949d88ae7b820c37f0a9f349abb090
Signed-off-by: Gaurav Singhal <gsinghal@codeaurora.org>
2016-08-17 10:38:00 +05:30
Benjamin Chan
eeb4edfc69 ARM: dts: msm: add SSC to MDSS DSI PLL for msmcobalt
Enabling Spread Spectrum Clocking (SSC) support in MDSS DSI PLL
device for msmcobalt.

CRs-Fixed: 1036187
Change-Id: I15ee013f42e6d8630ae650350cc4d92dffd01b2e
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
2016-08-16 18:08:23 -07:00
Benjamin Chan
56b0ef1365 clk: msm: mdss: add SSC support for dsi PLL on msmcobalt
Add support to control Spread Spectrum Clocking (SSC) in the
DSI PLL on msmcobalt.

CRs-Fixed: 1036187
Change-Id: I158670185976801970d54bec4bc42014b1b28b96
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
2016-08-16 18:07:56 -07:00
Skylar Chang
801aa2e38a msm: gsi: enable wake irq
Allow GSI interrupt to wake up AP.
This change will prevent a data stall in case
AP is in power collapse and IPA has data available
to AP.

Change-Id: I6457d1e348cd8e7a9075396e02061843f0ac9abc
CRs-Fixed: 1012036
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-08-16 17:03:34 -07:00
Skylar Chang
ab8bdb44da msm: ipa: fix potential NULL deference on SMMU
Fix potential NULL deference when SMMU is available.

Change-Id: I3454612cb8473e94ceb8163eca018d2489bff0c5
CRs-Fixed: 1052523
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-08-16 16:37:32 -07:00
Linux Build Service Account
008f057bba Merge "usb: pd: Always request maximum available current from PDO" 2016-08-16 16:35:14 -07:00
Linux Build Service Account
fdc8eb402a Merge "msm: vidc: Delay output buffer setting to FW" 2016-08-16 16:35:13 -07:00
Linux Build Service Account
d2113df12a Merge "perf: Add support for exclude_idle attribute" 2016-08-16 16:35:12 -07:00
Linux Build Service Account
2d546ee279 Merge "perf: add hotplug support so that perf continues after hotplug" 2016-08-16 16:35:11 -07:00