Commit graph

593712 commits

Author SHA1 Message Date
Linux Build Service Account
6b61088893 Merge "power: qcom: smb135x: change OTG regulator ops to static" 2017-09-13 00:17:51 -07:00
Linux Build Service Account
7d33335338 Merge "power: qpnp-fg-gen3: adjust ki coefficient for full soc dynamically" 2017-09-13 00:17:50 -07:00
Linux Build Service Account
234a1f3c32 Merge "usb: gadget: u_ether: Add NULL check in helper APIs" 2017-09-13 00:17:49 -07:00
Linux Build Service Account
c0125f4c90 Merge "usb: gadget: Update default class subclass and protocol for rndis" 2017-09-13 00:17:48 -07:00
Linux Build Service Account
14f6bfeeeb Merge "Merge android-4.4@610af85 (v4.4.85) into msm-4.4" 2017-09-12 14:41:58 -07:00
Linux Build Service Account
043f52c20a Merge "msm: kgsl: Protect the bind object against bad dereference" 2017-09-12 14:41:57 -07:00
Linux Build Service Account
e276155e6b Merge "msm: ipa: ipa_usb: teth_prot and ttype validation" 2017-09-12 14:41:48 -07:00
Linux Build Service Account
b86ba37927 Merge "msm: camera: isp: Avoid stats data corruption." 2017-09-12 05:25:47 -07:00
Linux Build Service Account
c32cff4902 Merge "drm/msm/sde: remove out of bound access for qos lut parsing" 2017-09-12 05:25:46 -07:00
Linux Build Service Account
14bba4ad56 Merge "drm/msm: fix non-zero offset register dumping" 2017-09-12 05:25:45 -07:00
Linux Build Service Account
e21786a4b9 Merge "msm: vidc: Avoid adding failed instance into list" 2017-09-12 05:25:44 -07:00
Linux Build Service Account
468e3f4e6e Merge "ARM: dts: msm: add dummy SPSS ETM device for msm8998" 2017-09-12 05:25:35 -07:00
Linux Build Service Account
53b5648fac Merge "ASoc: msm: Add pm_qos_request_active condition check" 2017-09-12 05:25:34 -07:00
Ramesh V
b9c2cd1f65 msm: camera: isp: Avoid stats data corruption.
When several threads permanently, e.g., read/write the debugfs
file that triggers vfe_debugfs_statistics_read(), the content of
stats will be modified in an unintended manner, add spin_lock
to protect that.

Change-Id: I15d46498e669132ef1d1f5ad9c4305ee5fdb0da4
Signed-off-by: Ramesh V <ramev@codeaurora.org>
2017-09-12 10:21:26 +05:30
Linux Build Service Account
e9ecb016e6 Merge "msm: kgsl: Limit the kgsl log frequency in kgsl_get_unmapped_area()" 2017-09-11 19:13:15 -07:00
Linux Build Service Account
fd4b95e374 Merge "usb_bam: Delete IPA resources in usb_bam_remove()" 2017-09-11 19:13:14 -07:00
Linux Build Service Account
e2903e352e Merge "scripts: correct cflags for kasan" 2017-09-11 19:13:06 -07:00
Linux Build Service Account
36c840e480 Merge "ASoC: sdm660_cdc: Fix mute if compander is disabled" 2017-09-11 19:13:05 -07:00
Linux Build Service Account
b462476de7 Merge "dts: msm: Add QSEECOM heap node on msm8996 lfv platform" 2017-09-11 19:13:04 -07:00
Linux Build Service Account
11d92b2206 Merge "msm: thermal: Check cpu variables are initialized before setting threshold" 2017-09-11 19:13:03 -07:00
Linux Build Service Account
688a2e4ffa Merge "wil6210: ensure P2P device is stopped before removing interface" 2017-09-11 19:12:59 -07:00
Linux Build Service Account
6b1bf8fed1 Merge "wil6210: increase connect timeout" 2017-09-11 19:12:58 -07:00
Linux Build Service Account
03dbca91e5 Merge "wil6210: clear PAL_UNIT_ICR part of device reset" 2017-09-11 19:12:57 -07:00
Linux Build Service Account
dc6bd8cd1e Merge "wil6210: move pre-FW configuration to separate function" 2017-09-11 19:12:57 -07:00
Linux Build Service Account
f942b32006 Merge "msm: ipa: Cache CNE event" 2017-09-11 19:12:56 -07:00
Linux Build Service Account
1b2c9a8e53 Merge "msm: kgsl: Do not allocate scratch memory for A3xx" 2017-09-11 19:12:55 -07:00
Linux Build Service Account
38b0615244 Merge "ath10k: Destroy QMI handle during driver unload" 2017-09-11 19:12:54 -07:00
Linux Build Service Account
5bfea4d5e6 Merge "msm: sensor: flash: add conditional check for ioctl" 2017-09-11 19:12:53 -07:00
Linux Build Service Account
42a50b337e Merge "msm: kgsl: Fix gpu fault issue while enabling stall on page fault" 2017-09-11 19:12:52 -07:00
Linux Build Service Account
a3f5570db9 Merge "msm: kgsl: Add debug log in adreno_of_get_pwrlevels()" 2017-09-11 19:12:51 -07:00
Linux Build Service Account
80e3abb9dc Merge "ARM: dts: msm: Add Support for new PM660L/A versions for SDM660/SDM630" 2017-09-11 19:12:49 -07:00
Linux Build Service Account
1e90ddd7a0 Merge "ARM: dts: msm: Add FAN cooling device to msm8996 CV2X boards" 2017-09-11 19:12:48 -07:00
Linux Build Service Account
f8af069c22 Merge "msm: ais: isp: Check null pointer for VFE0 base" 2017-09-11 19:12:47 -07:00
Linux Build Service Account
f6927cde75 Merge "ARM: dts: msm: enable camera on SDM636 MTP" 2017-09-11 19:12:46 -07:00
Linux Build Service Account
bdb943e519 Merge "mmc: core: enable async suspend of card" 2017-09-11 19:12:44 -07:00
Linux Build Service Account
ac9c82fdd9 Merge "Revert "ARM: dts: msm: Add initial support for msm8998-9x55"" 2017-09-11 19:12:43 -07:00
Yigang Zheng
0b925d013e msm: vidc: Avoid adding failed instance into list
Fix system crash bug when run multiple vidc instances

Change-Id: I7716854c210bf8d1191e2744e555d42f42e4a1f5
Signed-off-by: Yigang Zheng <yigangz@codeaurora.org>
2017-09-11 18:20:23 -07:00
Abhinav Kumar
a1f29fd0b5 drm/msm: fix non-zero offset register dumping
Remove format identifiers in the register dumping
function which incorrectly recognizes the offset and
the count of the registers to be dumped.

Also, reduce the chunk of memory copied from the SDE
hardware register range to align with the existing
register dumping mechanism.

Change-Id: I1ce7148275f5287e568fe6efc8774f4d495cdaa4
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-09-11 07:14:57 -07:00
Mao Jinlong
6f9ae86766 scripts: correct cflags for kasan
Enable address sanitizer flags for kasan by default.

Change-Id: Ib08149a7d1af589fed3ce30659cb495d4bb2fb81
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2017-09-11 05:26:05 -07:00
Vijayavardhan Vennapusa
4fe177ec88 usb_bam: Delete IPA resources in usb_bam_remove()
Whenever dwc3_msm_probe() fails, it calls of_depopulate() to remove child
devices as part of cleanup. Due to this, usb_bam_remove() gets called to
do cleanup. But this API is not deleting IPA resources created during
probe and leads to creation of IPA resources fail, when probe is called
again. This eventually results in crash, when IPA driver calls notify
callback after PROD resource granted. Hence fix it by deleting IPA
resources in usb_bam_remove().

Also change enum type of ipa_rm_resource_prod/ipa_rm_resource_cons arrays
to enum ipa_rm_resource_name to fix sparse errors.

Change-Id: I3d9d0e1b26f1de0ba2b56b42c7e10a097d4fa8be
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-09-11 15:50:21 +05:30
Vatsal Bucha
d3c53d2a43 ASoC: sdm660_cdc: Fix mute if compander is disabled
Compander disable sequence does not get called
after headphone playback on fm. This results in
mute at one channel and low volume at other channel.
Low volume is resolved by setting analog mode to manual
while compander is off.
Also compander clock should be disabled at the end to
resolve mute issue.

CRs-Fixed: 2102126
Change-Id: I68e72f3b333117a8fdf379db30dc24de9bed7270
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2017-09-11 02:59:08 -07:00
Dhaval Patel
0667b6f916 drm/msm/sde: remove out of bound access for qos lut parsing
QOS LUT dtsi entries use existing hardware parsing APIs
but dos not increase the size of array. This causes out of
bound access while reading u32 lut array entry. This patch
fixes the array size and also adds checks to avoid future
out of bound access. It also fixes the memory leak in
qos lut parsing.

Change-Id: I98de052d03e1bcfd79d15ab99ca41d7782e56682
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-09-11 02:51:15 -07:00
Saranya Chidura
f1084458cc ARM: dts: msm: add dummy SPSS ETM device for msm8998
Add dummy device for SPSS ETM. This device can be used to
configure SPSS ETM trace path.

Change-Id: Idd060ce0de61acab7842103f47c838f4a618d9df
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
2017-09-11 12:58:42 +05:30
Amit Blay
4b924d1854 dts: msm: Add QSEECOM heap node on msm8996 lfv platform
Add the QSEECOM ION heap node, to allow QSEECOM driver and QSEECOM
API library to allocate ION memory from QSEECOM heap.

Change-Id: Ia0b346bbac9378b79d1b7683ee1cc0ade533b4fa
Signed-off-by: Amit Blay <ablay@codeaurora.org>
2017-09-10 22:12:39 -07:00
Linux Build Service Account
1cbd1cdf84 Merge "mmc: sdhci: Add logs when ignoring timeout due to quirk" 2017-09-10 10:20:25 -07:00
Lior David
9db9725e93 wil6210: ensure P2P device is stopped before removing interface
User space can remove the P2P management interface while it is active
(for example, while listen/search is active) and this can cause
a crash. Ensure the P2P device is fully stopped before removing.

Change-Id: Ibc94f12bc63f2ba31ede24afffd9c5acbf95467a
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 69fecf599f48e258984b2ffdf0a4c65a35a31287
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
2017-09-10 00:22:29 -07:00
Lior David
821b100ad8 wil6210: increase connect timeout
Connect can take longer than current timeout in some scenarios,
for example with long-range antenna array. Increase the timeout
to support these scenarios.

Change-Id: Id59cf4f11f8381ab8eab748171ef2b7949dde887
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: d83ad4c4fd78b22935711f865048bab78b43fc86
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
2017-09-10 00:22:23 -07:00
Dedy Lansky
89553114ef wil6210: clear PAL_UNIT_ICR part of device reset
When FW starts running it can get D0 to D3 interrupt that is a leftover
from previous system suspend while FW was not running.
As this interrupt is not relevant anymore, clear it part of device reset
procedure.

Change-Id: I213a18fd59a500914ab22f75a72393786188a08e
Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 7086d861753bc0aaa8b6445f657d8e39953e4fcd
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
2017-09-10 00:22:17 -07:00
Dedy Lansky
8e502e8bc0 wil6210: move pre-FW configuration to separate function
Re-arrange the code to have dedicated function for device configuration
which takes place before FW starts running.

Change-Id: Ia0f2b33f85ba9547bee9415e34143e5b09e28447
Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 1490846d256af947a4743f04ba8c97dc3bc37073
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
2017-09-10 00:22:10 -07:00
Lazar Alexei
bd05d7e51d wil6210: align to latest auto generated wmi.h
Align to latest version of the auto generated wmi file
describing the interface with FW.

Change-Id: I5cd2130c17457544d055aaff15f5747a3d241e23
Signed-off-by: Lazar Alexei <qca_ailizaro@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 761f8e4d463e1cbf6da0d228bc74cecc800d4de5
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
2017-09-10 00:22:04 -07:00