Commit graph

574442 commits

Author SHA1 Message Date
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
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
Prashanth Bhatta
a3a3c169dd icnss: Prevent power collapse during driver probe/remove
Race condition observed during driver probe/remove and
suspend/resume because suspend/resume is not serialized
to work queue. Fix this problem by holding a wake lock
during wlan driver probe/remove to prevent system
suspend/resume.

CRs-Fixed: 1061279
Change-Id: Iad1c9abbdbaea21d4c55d64a6c120d3bcf0df1eb
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-08-30 17:18:27 -07:00
Prashanth Bhatta
5fc63ed649 icnss: Fix logic to wait for WCSS out of retention
WCSS may take upto 400us to get out of retention. Fix the polling
logic to wait for more than 400us before proceeding with the
reset sequence.
Also do not send mode request to firmware during recovery.

CRs-fixed: 1060725
Change-Id: Id19518a12fe8a0acffd725b25dbcb0240bdbf446
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-08-30 14:56:42 -07:00
Linux Build Service Account
ab26d09879 Merge "msm: mdss: Fix to validate data copied from user space" 2016-08-30 05:43:46 -07:00
Linux Build Service Account
019b7d0c64 Merge "msm: vidc: Compare ion_handles rather than fds" 2016-08-30 05:43:45 -07:00
Linux Build Service Account
a3d968ba61 Merge "msm: vidc: Amend DCVS condition" 2016-08-30 05:43:44 -07:00
Linux Build Service Account
37b89f3848 Merge "msm: ipa: WDI2.0: hotspot offload using WDI 2.0 interface" 2016-08-30 05:43:43 -07:00
Linux Build Service Account
81d6052b05 Merge "msm: kgsl: Change %p to %pK in debug messages" 2016-08-30 05:43:42 -07:00
Linux Build Service Account
166af733db Merge "scsi: ufs-qcom: skip svs2 configuration for newer controllers" 2016-08-29 19:14:22 -07:00
Linux Build Service Account
78170f03d5 Merge "mfd: qcom-i2c-pmic: prepare for shared interrupt" 2016-08-29 19:14:22 -07:00
Linux Build Service Account
1f2cf9a987 Merge "defconfig: arm64: Add coresight abort support for msmcobalt" 2016-08-29 19:14:21 -07:00
Linux Build Service Account
6f177c586e Merge "ARM: dts: msm: add audio codec as child of MSM External display" 2016-08-29 19:14:20 -07:00
Linux Build Service Account
1c39aaa3b8 Merge "msm: qpnp-haptic: Update function declarations" 2016-08-29 19:14:19 -07:00
Utkarsh Saxena
c6d6062033 msm: ipa: WDI2.0: hotspot offload using WDI 2.0 interface
Add support to enable WDI 2.0 interface on IPA version 2.6.1
which is used in falcon.

Change-Id: Id6460f21245808b739ad215fe8073ae7cae8422c
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
2016-08-29 07:49:51 -07:00
Linux Build Service Account
aaf356abef Merge "scsi: ufs: add 2 lane support" 2016-08-29 06:46:44 -07:00
Praveen Chavan
34e86b910f msm: vidc: Compare ion_handles rather than fds
fd(s) cannot uniquely identify buffers queued by cross-process
clients. Use ion handles to compare and match already-mapped-
buffers irrespective of data or extradata planes.

CRs-Fixed: 1060416
Change-Id: I591f18aa225cc6690bf423f2ae5bc7dafd4dad78
Signed-off-by: Praveen Chavan <pchavan@codeaurora.org>
2016-08-29 01:28:06 -07:00
Linux Build Service Account
436eeda4f1 Merge "drivers: mfd: Add 1.6MHz clk support for wcd934x codec" 2016-08-29 00:49:28 -07:00
Linux Build Service Account
37d7004cec Merge "defconfig: msm64: msm: Compile vidc driver as LKM" 2016-08-29 00:49:28 -07:00
Linux Build Service Account
1de43aecd2 Merge "sound: usb: Add NULL check on return value of iommu_domain_alloc()" 2016-08-29 00:49:27 -07:00
Linux Build Service Account
627ff531cb Merge "input: synaptics_dsx_2.6: correct sysfs permissions" 2016-08-29 00:49:26 -07:00
Linux Build Service Account
2b4e8cbd34 Merge "Revert "Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into msm-4.4"" 2016-08-29 00:49:25 -07:00
Linux Build Service Account
50618ab44f Merge "usb: gadget: f_cdev: Handle notification request properly" 2016-08-29 00:49:25 -07:00
Linux Build Service Account
7121dd22c2 Merge "msm_vidc: venc: configure max-B-frames only if B is enabled" 2016-08-29 00:49:23 -07:00
Linux Build Service Account
105d1fddef Merge "mm: zbud: fix the locking scenarios with zcache" 2016-08-29 00:49:23 -07:00
Linux Build Service Account
cbbeefbea9 Merge "clk: qcom: Add support for clk_set_flags for branch and dummy clock" 2016-08-29 00:49:21 -07:00
Linux Build Service Account
5eaa42dc62 Merge "radio: iris: uapi header split" 2016-08-29 00:49:21 -07:00
Subhash Jadavani
a58cf90d63 scsi: ufs-qcom: skip svs2 configuration for newer controllers
Newer QCOM UFS host controller doesn't need to execute
the special LPM mode configuration when switching to SVS2
mode. This change looks at the host controller version
to bypass this special configuration for newer controller
version.

Change-Id: Ib84663955c0c0db6124819c4c4749e5c347a3495
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2016-08-29 00:16:43 -07:00
Venkat Gopalakrishnan
b938e3480e scsi: ufs: add 2 lane support
Qcom ufs controller v3.1.0 supports 2 lanes, add support
to configure 2 lanes during phy initialization.

Change-Id: Ifa2bac71b47ce49a6fb31ebb8dd54b243e1cfae1
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2016-08-29 00:16:13 -07:00
Subhash Jadavani
19bec73759 phy: qcom-ufs-qmp-v3: add 2 lane phy support
New version of phy-qcom-ufs-qmp-v3 supports 2 lanes,
this change adds the config table to enable 2 lanes.

Change-Id: Ie916e7090d3660711159b886c27ee3709891ef2b
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2016-08-29 00:15:41 -07:00
Prashanth Bhatta
7d45313e05 icnss: Handle wait being interrupted
When event needs to be processed synchronously, event posting
thread waits for the completion. After completion, result from
the event work is retrieved and event buffer would be freed. But
if waiting thread gets interrupted then wait_for_completion API
returns failure and it also frees the buffer posted for
processing. Event work queue may accesses the freed buffer and
crash the system.
Fix the issue by properly synchronizing event buffer free between
caller and event work by checking for return value of
wait_for_completion.

CRs-fixed: 1057180
Change-Id: Ic3968fd4c0232da6bc9a97d94376f540f62bd2e6
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-08-27 12:09:16 -07:00
Satyajit Desai
2681a68d37 defconfig: arm64: Add coresight abort support for msmcobalt
Enable CoreSight abort for msmcobalt. CoreSight driver will
dump any trace present in the current sink in case we hit a
kernel panic, user fault or an undefined instruction.

Change-Id: Iff2fdfb547617425182429d95fb1d3b9a2e4321f
Signed-off-by: Satyajit Desai <sadesai@codeaurora.org>
2016-08-27 11:27:42 -07:00