Commit graph

574562 commits

Author SHA1 Message Date
Linux Build Service Account
d48d1c2287 Merge "msm: sde: Fix SMMU fault in SDE rotator for secure playback" 2016-09-02 13:52:33 -07:00
Linux Build Service Account
ce208ebb32 Merge "ARM: dts: msm: add 2 lane support for msmcobalt ufs phy" 2016-09-02 13:52:32 -07:00
Linux Build Service Account
90d089418c Merge "qseecom: improve listener resp processing if app is blocked" 2016-09-02 13:52:32 -07:00
Linux Build Service Account
48b6724178 Merge "msm: sde: Fix SDE rotator driver error handling" 2016-09-02 13:52:31 -07:00
Linux Build Service Account
8309f6afda Merge "msm: ipa: fix potential race condition ioctls" 2016-09-02 13:52:30 -07:00
Linux Build Service Account
40b4ea195d Merge "cnss: Reset QCA Card during WLAN SubSystem Recovery" 2016-09-02 13:52:29 -07:00
Linux Build Service Account
e6fe53412e Merge "scsi: ufs: Initiate crypto before SCSI for UFS fast boot" 2016-09-02 13:52:28 -07:00
Linux Build Service Account
d9fed05410 Merge "cfg80211: Add option to specify previous BSSID for Connect command" 2016-09-02 13:52:27 -07:00
Linux Build Service Account
01b7812ef9 Merge "cfg80211: Define macro to indicate prev_bssid connect support" 2016-09-02 13:52:26 -07:00
Linux Build Service Account
d95f7bea18 Merge "soc: qcom: glink: Validate ctx before using" 2016-09-02 13:52:25 -07:00
Linux Build Service Account
ca667c3ef5 Merge "mutex: Add a delay into the SPIN_ON_OWNER wait loop." 2016-09-02 13:52:24 -07:00
Linux Build Service Account
cf923055eb Merge "net: ipc_router: Fix remote port conn_info memory leak" 2016-09-02 13:52:24 -07:00
Linux Build Service Account
da1845f69c Merge "host: sdhci-msm: implement get_current_limit() host op" 2016-09-02 13:52:23 -07:00
Linux Build Service Account
3fa0d6f138 Merge "diag: Add error handler to free buffers when fwd fails" 2016-09-02 13:52:22 -07:00
Linux Build Service Account
0e34d5ec1c Merge "icnss: Shutdown only if probed" 2016-09-02 13:52:20 -07:00
Linux Build Service Account
4e06ee349f Merge "icnss: Fix NULL pointer dererference" 2016-09-02 13:52:20 -07:00
Linux Build Service Account
a278b7c5a4 Merge "defconfig: msmcortex: enable QCOM_TADC driver" 2016-09-02 13:52:18 -07:00
Linux Build Service Account
e5e464d857 Merge "defconfig: msm: enable common log for msmcobalt" 2016-09-02 13:52:17 -07:00
Linux Build Service Account
d03c5b32e3 Merge "msm: camera: secure camera support" 2016-09-02 13:52:17 -07:00
Linux Build Service Account
c4aaae0d6a Merge "msm: camera: isp: Use single stream for dual vfe" 2016-09-02 13:52:15 -07:00
Linux Build Service Account
8e942d7343 Merge "coresight-stm: let runtime PM handle core clock" 2016-09-02 13:52:14 -07:00
Linux Build Service Account
7854019283 Merge "msm: sensor: Add support for querying flash max current" 2016-09-02 13:52:14 -07:00
Linux Build Service Account
f7e6d28c0b Merge "msm: mdss: increase mdp hw recovery timeout" 2016-09-02 13:52:13 -07:00
Linux Build Service Account
b2bff7109a Merge "ARM: dts: msm: change the CX handle in PCIe node on msmcobalt" 2016-09-02 13:52:12 -07:00
Linux Build Service Account
531271409b Merge "msm: pcie: config core and peripheral memory for PCIe clocks" 2016-09-02 13:52:11 -07:00
Linux Build Service Account
b11aa41c03 Merge "msm: pcie: correct size of local PCIe clock frequency buffer" 2016-09-02 13:52:10 -07:00
Linux Build Service Account
340e0f63ff Merge "USB: f_accessory: Fix crash if driver failed to initialize" 2016-09-02 13:52:09 -07:00
Linux Build Service Account
fd69ea1825 Merge "USB: f_accessory: set manufacturer and model string to default value" 2016-09-02 13:52:08 -07:00
Prashanth Bhatta
e7203bbcb0 icnss: Fix NULL pointer dererference
With commit a3a3c169dd ("icnss: Prevent power collapse during
driver probe/remove"), NULL pointer dereference happens in probe
because of recent changes in the function. Fix the issue by using
right pointer.

CRs-Fixed: 1061279
Change-Id: I464579953fabe1bd42ced50f0bbfdfd3cda0a492
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-09-01 16:55:10 -07:00
Saravana Kannan
5599e9a931 PM / devfreq: bw_hwmon: Add HW offload support to governor
Some HW monitors can do a better job of the sampling and the threshold
checking than the SW implementation in the governor.  Update the governor's
API to add support for them.

Change-Id: Id4b5593a5ed3290684ba43ebebe2466ba0b730b6
Signed-off-by: Saravana Kannan <skannan@codeaurora.org>
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2016-09-01 15:21:03 -07:00
Praneeth Paladugu
30dc40c787 msm: vidc: Enhance debug capabilities of video driver
When Venus HW is not responding, before crashing the system,
print all the pending messages, current sessions and each
session info.

CRs-Fixed: 1059604
Change-Id: I8d39eaaa425e5e6fa97704c9bc15414f9a0f61ce
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
2016-09-01 13:20:05 -07:00
Dilip Kota
acca783612 slim-msm: Differentiate SSR from Noise during power up
During power up operation check whether power up
failure is due to SSR or noise over slimbus.
If power up failure is due to SSR prevent retry
operation.
This change also do allocate DMA memory for slimbus
bulk trasactions. Memory should be DMA for slimbus
transactions as using non-DMA memory will end up
in creating bounce buffers and affect the performance.

Change-Id: Iaca520d92c4ee2d73f8e751699779e6cfc9ddb87
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
2016-09-01 18:50:32 +05:30
Srinivas Ramana
2aaa206077 clk: msm: Select appropriate clock flags for 32-bit
1. Select COMMON_CLK_MSM for msmfalcon when building
for 32-bit.
2. Select RATIONAL when COMMON_CLK_MSM is selected as
it's using an api from rational library.

Change-Id: I5b8fa962718a5ae44dfd18a13285715580ee0dbc
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
2016-09-01 03:12:32 -07:00
Sayali Lokhande
76b1b5d710 mmc: host: Add check for post tuning in HS400
'commit 34e4cf13f7 ("mmc: core: Update HS400 timing
mode before performing tuning")' updates timing mode
to HS400 before tuning in mmc_hs200_tuning.
On 4.4 kernel, there is check added to bail out from
execute_tuning if HS400 tuning is done in HS200 mode.

Adding check to avoid bailing out and allow
execute_tuning if POST_TUNING capability is set.

Change-Id: I259da28050e5da0c96251cb99176386927b596f0
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2016-09-01 14:54:45 +05:30
Venkatesh Yadav Abbarapu
82200b104b ARM: dts: msm: Update debug uart support for msmfalcon
As per the new schematic the debug uart is on BLSP1UART1
instead of BLSP2UART1.

Change-Id: I08b3ffa1a027b3212b77fe661348f2852485ed0d
Signed-off-by: Venkatesh Yadav Abbarapu <vabbar@codeaurora.org>
2016-09-01 10:35:38 +05:30
Bhalchandra Gajare
d07c2a2ef8 ASoC: wcd934x: Fix register default for MAD buffer interval
Current register default setting for MAD buffer interval is incorrect
and hence microphone activity detection is not functional. Update the
default value of the MAD buffer interval to 10msec.

CRs-Fixed: 1049012
Change-Id: I1dcdcb566f096bbddad286dc71c5bf980303e4c3
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-08-31 16:49:26 -07:00
Siena Richard
ac3242b4ee msm: qdsp6v2: update CVD version
CVD version is updated to 2.3 on ADSP. Update the mapping
table in voice driver to allow CVD version 2.3 to be
recognized and used.

Change-Id: Id6d1c960dc720e8013eb9ba1f07af7662b576e37
CRs-Fixed: 1060201
Signed-off-by: Siena Richard <sienar@codeaurora.org>
2016-08-31 13:56:54 -07:00
Prashanth Bhatta
a15f85fc40 icnss: Shutdown only if probed
With the recovery changes, if modem is brought down without FW
ready but WLAN driver is registered then shutdown call back is
called. This causes stability issue.
Make sure not call the shutdown call back if driver is not
registered. Also listening for PD notifications are enough even
for Subsystem restart so changing the quirks to take care of it.

CRs-fixed: 1061734
Change-Id: Ic5d1a38dfb6ea3e255424af135e2afbe47d1fc18
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-08-31 12:45:58 -07:00
Harry Yang
934dc6a349 qcom-charger: smb138x: update FCC settings in smb_params table
Fix fcc max and step values per HW specification.

CRs-Fixed: 1060633
Change-Id: Ie4ff10977840d8210482ad6f7bba4f0f0160aa03
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2016-08-31 09:46:33 -07:00
Harry Yang
0f527600ea qcom-charger: smb2: configure stat pin for parallel charging
Currently the PMI stat pin is configured to output IRQ and SW
override status. Parallel charging requires the stat pin for
parallel enable status and under the control of HW, and hence
the change.

CRs-Fixed: 1060633
Change-Id: Ie93f874b90b5aed0a66e97186e4f1d69a1275c8b
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2016-08-31 09:46:32 -07:00
Maulik Shah
b2251c4b4d soc: qcom: rpm-smd: wait till all active set acks are cleared
Wait till all pending acks are receivied for active set messages
before lpm driver choose to enter rpm assisted pc.

Change-Id: Ifefb9f3ae88d890e64e7e123e0fcedc00aea719c
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2016-08-31 14:09:27 +05:30
Phani Kumar Uppalapati
57db886359 ASoC: wcd934x: Update codec master clock configuration
Update wcd934x codec master clock configuration to
9.6MHz or 12.288MHz based on the device tree setting.
This is done during early codec initialization to prevent
artifacts when audio path is enabled.

CRs-fixed: 1061430
Change-Id: Ic983a524b6fa5bb079c6e61b8fe729974de78eea
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-08-30 23:16:05 -07:00
Mao Li
4d840dce08 input: ft5x06_ts: add sysfs to access touch module info
Add sysfs under sys/kernel/ts_info to access touch vendor name,
model number, firmware version.

Change-Id: I531c7fa7db2b7140e5b9c7bb31831d221c734e3e
Signed-off-by: Mao Li <maol@codeaurora.org>
2016-08-30 22:17:01 -07:00
Sudhakar Manapati
d0d1f78347 input: ft5x06_ts: remove proximity sensor support
remove psensor support as the linux/sensors.h file is not yet merged
in msm-3.18 kernel.

Change-Id: I6d46b35938b7420072f9245ffa27bb59f28d5e03
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-08-30 22:16:55 -07:00
Sudhakar Manapati
11489ea70f input: sensors: change sensors classdev device's parent to input devices
Sensor HAL takes long time to scan /dev/input to get information
from input subsystem. Change sensors sysfs hierarchy to avoid
the scanning to reduce sensor HAL initialization time.

Change-Id: Ifcd560dacdba2600f2ae5d40a5c3e639ea291274
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-08-30 22:16:46 -07:00
Mao Li
d81508ebf8 input: ft5x06_ts: correct the status of the pocket mode
Do not need to call function to enter pocket mode if the touch
panel is already in pocket mode as well as no need to call function
to leave pocket mode if it is not in pocket mode.

Change-Id: Ic26376bebeba8e7f0dd37ef3bfbbed36c621604b
Signed-off-by: Mao Li <maol@codeaurora.org>
2016-08-30 22:16:39 -07:00
Mao Li
4c6290a14f input: ft5x06_ts: fix compiling error in FT CTP driver
Change dev_debug to dev_dbg to fix compiling error
if CONFIG_TOUCHSCREEN_FT5X06_PSENSOR is enabled.

Change-Id: Ic228ac8b6dec0bc3e1aaff890dc5b1b7c024bdfc
Signed-off-by: Mao Li <maol@codeaurora.org>
2016-08-30 22:16:18 -07:00
Mao Li
eb86decf8f input: ft5x06_ts: do not free input_dev after unregister it
Once the input device is successfully registered via
input_register_device(), it has to be unregistered via
input_unregister_device(); input_free_device()
should not be called in this case. input_unregister_device()
frees the input device, hence the call to input_free_device()
is a double free. This is also described in comments of
input_unregister_device().

Reorganize the code to avoid a double free.

Change-Id: I7abee3f1ad6c73e1c38aa64e627ffd73f6f9d3b2
Signed-off-by: Mao Li <maol@codeaurora.org>
2016-08-30 22:15:45 -07:00
Mao Li
1a0b4f1561 input: ft5x06_ts: add gesture feature support
Focaltech touch controller FT6436 support new feature Screen-off-Gesture.
It is able to turn on the screen by drawing gestures on the touch screen
when the screen is during off status. Enable the FT CTP driver to support
the screen off gesture recognization.

This patch is propagated from msm-3.18 kernel.
'commit 5cc0bff80d65 ("input: ft5x06_ts: add gesture feature support")'
Also cleared the following checkpatch warnings.
- Missing a blank line after declarations
- Missing a blank line after declarations
- Comparisons should place the constant on the right side of the test.

Change-Id: I77d111d3ef800b636a337221d7e605f746a113dd
Signed-off-by: Mao Li <maol@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-08-30 22:15:36 -07:00
Mao Li
ff1443ebaa ARM: dts: msm: correct Focaltech CTP irq flag configuration
Fixed below irq flag issues of Focaltech CTP:
Focaltech CTP firmware generates edge interrupt to MSM, but the
interrupt type in DTSI is level, which will cause CTP interrupt
cannot wake up MSM when system is in deep sleep. Fix this by
setting edge irq flag in DTSI.

For GPIO irq, the irq flag should be specified in "interrupts"
node. Msm_gpio module will only use the lower 8-bit of
"interrupts" node and discards the upper bits. If we specify
0x2002 in "interrupts" node, the upper bits(0x2000) is not used
by msm_gpio, only lower bits(0x2) is used, that means only
lower bits(0x2) should be set in "interrupts" node.

"focaltech,irq-gpio" node is used to specify gpio property,
rather than irq flag. Remove the irq flag setting in this node.

In driver code, specify only "IRQF_ONESHOT". The irq trigger type
is specified by DTSI "interrupts" node. See above.

Change-Id: I4cd8596fb4538b701317f01a6cafaa771041ffdd
Signed-off-by: Mao Li <maol@codeaurora.org>
2016-08-30 22:15:27 -07:00