Commit graph

586936 commits

Author SHA1 Message Date
Linux Build Service Account
d0ae02c103 Merge "input: synaptics_dsx: remove array declaration in write function" 2017-03-24 12:13:07 -07:00
Linux Build Service Account
788fd1f669 Merge "i2c-msm-v2: Create rx completion object for dma mode" 2017-03-24 12:13:06 -07:00
Linux Build Service Account
1c5eaab322 Merge "iio: qcom-rradc: Update reading battery ID channel" 2017-03-24 12:13:06 -07:00
Linux Build Service Account
e6025a89eb Merge "msm: ipa: add retry to channel stop" 2017-03-24 12:13:05 -07:00
Linux Build Service Account
3e5a44882b Merge "ath10k: Enable Subsystem Restart for ath10k WCN3990 driver" 2017-03-24 12:13:04 -07:00
Linux Build Service Account
284d57ddfe Merge "msm: msm_bus: initialize the local variable" 2017-03-24 12:13:03 -07:00
Linux Build Service Account
7b585b8e0e Merge "ARM: dts: msm: config SD card GPIO on SDM630 QRD" 2017-03-24 12:13:02 -07:00
Linux Build Service Account
c5db1ff34d Merge "msm: msm_bus: fix the memory leak issue" 2017-03-24 12:13:01 -07:00
Linux Build Service Account
c18c373729 Merge "mmc: sdhci-msm: Cache mmc data structures for debugging" 2017-03-24 12:13:00 -07:00
Linux Build Service Account
e76a227bca Merge "msm: mdss: Remove DSC parameters from MDP caps" 2017-03-24 12:12:59 -07:00
Linux Build Service Account
588c3e92c9 Merge "msm: mdss: Perform splash cleanup on slave control" 2017-03-24 12:12:58 -07:00
Linux Build Service Account
f24c14db5b Merge "msm: mdss: handle force clock lane to HS option properly" 2017-03-24 12:12:57 -07:00
Linux Build Service Account
ba4b8bd054 Merge "msm: mdss: ensure proper state transition during ULPS exit" 2017-03-24 12:12:56 -07:00
Linux Build Service Account
b606e151e5 Merge "msm: mdss: initialize external BL level when fb probe" 2017-03-24 12:12:55 -07:00
Linux Build Service Account
bf4ee749a7 Merge "ion: ion_system_heap: Fix null pointer dereference" 2017-03-24 12:12:54 -07:00
Linux Build Service Account
6ec5aba99c Merge "msm: wlan: Change EIRP value for country China" 2017-03-24 12:12:53 -07:00
Linux Build Service Account
1939e99608 Merge "USB: qdss: Fix NULL pointer deference issue during QDSS transfers" 2017-03-24 12:12:52 -07:00
Linux Build Service Account
4358e92082 Merge "Revert "ARM: dts: msm: Enable midframe sampling timer on SDM660"" 2017-03-24 12:12:51 -07:00
Linux Build Service Account
8dd5f28966 Merge "ARM: dts: msm: add speed bin 1 CPU clock boost frequency for msm8996pro" 2017-03-24 12:12:50 -07:00
Linux Build Service Account
ef1e7d218c Merge "arm64: kaslr: Fix up the kernel image alignment" 2017-03-24 12:12:49 -07:00
Linux Build Service Account
0c422cda97 Merge "msm: camera: isp: Rate limit certain logs" 2017-03-24 12:12:48 -07:00
Linux Build Service Account
6d7192fb53 Merge "ARM: dts: msm: designate LDO10A as a parent of LDO7B on sdm660" 2017-03-24 12:12:47 -07:00
Linux Build Service Account
a8e306826e Merge "msm_serial_hs: modify uart driver to prevent race between timer calls" 2017-03-24 12:12:46 -07:00
Linux Build Service Account
9c809d2a75 Merge "ARM: dts: msm: designate LDO10A as a parent of LDO7B on sdm630" 2017-03-24 12:12:46 -07:00
Linux Build Service Account
926dc5d76d Merge "USB: f_audio_source: Use different names for multi instances" 2017-03-24 12:12:45 -07:00
Linux Build Service Account
28af635af5 Merge "soc: qcom: service-locator: Free memory in case of error" 2017-03-24 12:12:44 -07:00
Linux Build Service Account
2b2a813f23 Merge "ARM: dts: msm: Set the rate for camss vfe clock on SDM660 & SDM630" 2017-03-24 12:12:43 -07:00
Linux Build Service Account
3d962a0054 Merge "ARM: dts: msm: designate LDO12 as a parent of LDO24 on msm8998" 2017-03-24 12:12:31 -07:00
Sudheer Papothi
4fab686741 ASoC: wcd934x: Fix sequence for efuse sensing
Fix sequence for efuse sensing on WCD934x codec to avoid
codec register access failures.

CRs-Fixed: 2021132
Change-Id: I5da8c4c6b9f9822563b95c7a270fd11449456b29
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2017-03-24 10:43:37 -07:00
Govind Singh
34931fc70e ath10k: msm: enable ATH10k DEBUG config for APQ8098
CONFIG_ATH10K_DEBUG needs to enabled to get the
debug logs for various debug log levels.

Enable CONFIG_ATH10K_DEBUG to have debug log support
for ath10k driver.

Change-Id: Ibd8641fe79ca4cfb68e843247610dbd28d857cc7
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-03-24 07:28:34 -07:00
Shankar Ravi
80f8b9c753 ARM: dts: msm: Update camera clock sources for sdm630
Changing the clock source frequencies to lower
working frequencies so that the camera runs in
SVS_L1 mode, which reduces the power consumption.

Change-Id: I47c105dafa96879c5607acae4680f3b189f4941a
Signed-off-by: Shankar Ravi <rshankar@codeaurora.org>
2017-03-24 06:09:57 -07:00
Shantanu Jain
bcde95e2e6 input: synaptics_dsx: remove array declaration in write function
Remove array declaration in i2c write function of Synaptics DSX
touch driver and use the malloc function to allocate the memory.
This change is added to use heap memory instead of stack memory.

CRs-Fixed: 1010986
Change-Id: I8f2f75744bb442191d7d4577795d986e10ea1cf6
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2017-03-24 17:09:54 +05:30
Govind Singh
b9e75d5783 ath10k: Fix ATH10K_DBG_SNOC debug mask
ATH10K_DBG_SNOC debug mask is incorrectly assigned.
Fix this by correctly assigning the debug mask
for WCN3990.

Change-Id: I261e4789e4c69cf2493b8e18df9ffb538b256b20
Signed-off-by: Govind Singh <govinds@codeaurora.org>
2017-03-24 02:48:34 -07:00
Ray Zhang
d679cf981b msm: mdss: make hpd call asynchronous for HDMI in certain cases
In some cases the hpd call cannot be blocked. For example, in
case of framework restart, both display and audio HALs are not
available, so nobody will notify and unblock hpd call. Another
case is continuous splash in which unblank is delayed till the
first display kickoff, so hpd cannot blocking wait for such a
late notification.

Change-Id: I6ed58c3ac35efdaeac2e73d36d78b7fd64a74f42
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2017-03-24 17:46:58 +08:00
Ashutosh Kumar
80501bb4e4 ath10k: Add rx rate histogram for data packet
Add the rate histogram for rate_index, band, ht,
vht and vht_nss for received data packet.

CRs-Fixed: 2019645
Change-Id: I52ae3b94c886b8a200162cd7d2a220548296bf91
Signed-off-by: Ashutosh Kumar <askuma@codeaurora.org>
2017-03-24 02:34:27 -07:00
Xiaojun Sang
fe4622d7a7 ASoC: msm: add support for ADSP Stream Cmd and Callback
Add support for ADSP Stream Cmd and Callback for PCM
and compress driver. Mixer controls are added as interface
for ADSP stream cmd and callback event.

CRs-Fixed: 2023802
Change-Id: Ib2de5aebe257332171c3b1ebe3d26b3422d61c97
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2017-03-24 01:37:04 -07:00
Sayali Lokhande
62edbae8ba mmc: sdhci-msm: Cache mmc data structures for debugging
Add debug RAM to store few important mmc data structures
on first point of failure(like mmc_card, mmc_host, sdhci_host)
for debugging purpose, otherwise it will be overwritten as
BUG_ON is removed now.

Change-Id: Ia1388a77aeed60d4d49a63b8798d3a925a60ac2c
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2017-03-24 01:24:29 -07:00
Vikash Garodia
6f03056232 msm: media: Allocate extra memory after alignment
Existing memory allocation considers alignment after
adding the extra lines needed by hardware. This does
not increase the buffer size by the required size
increment. Add the increment after aligning the
scanlines to prevent out-of-bounds access.

Change-Id: I5f6ff7cec99e4cb5f94edda506bd1740b9b38242
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
2017-03-24 12:39:53 +05:30
Odelu Kukatla
0042c31fbe msm: msm_bus: fix the memory leak issue
Client name allocated dynamically during the registration
is not freed at the time of unregistration. This is
leading to memory leak issue. This patch fixes the issue
by freeing up the client name during unregistartion time.

Change-Id: I0fe75ce71fdf0ee9a1268d52ac244047cc3413d7
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2017-03-24 12:17:37 +05:30
Govind Singh
15608bf63f ath10k: Enable Subsystem Restart for ath10k WCN3990 driver
Add service registry and PD indication support
Add support for USER PD service discovery and
associated notifications.
Enable recovery when USER PD DOWN indication is
received.

Change-Id: I548cd231f3d2090c5aa0ed328fbfb909d17467e8
Signed-off-by: Govind Singh <govinds@codeaurora.org>
2017-03-23 22:40:04 -07:00
xiaonian
23e6dbc0fd ARM: dts: msm: config SD card GPIO on SDM630 QRD
As GPIO 54 has already been connected to an external
pull up resistor, config it to no pull to save power
consumption.

CRs-Fixed: 2024143
Change-Id: Ic52896f9bf0e001f505d1bb7400df2ae96f44d49
Signed-off-by: xiaonian <xiaonian@codeaurora.org>
2017-03-24 10:54:56 +08:00
Hemant Kumar
33895a656a usb: gadget: f_ncm: allocate/free net device upon driver bind/unbind
Driver registers net device in bind but does not unregister it upon
driver unbind. Upon composition switch ncm net device is no longer
in use, hence unregister and free it in driver unbind. Unregistering
net device sends notification to user space which can be used by user
space entities to perform necessary actions for example updating UI.
Symmetrically allocate and register net device in driver bind.

Change-Id: Ie1bb781aba8efee20cc98c1d6bf264403c3b087e
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-03-23 19:07:25 -07:00
Siddartha Mohanadoss
aae895ce11 iio: qcom-rradc: Update reading battery ID channel
The battery ID channel on the RRADC can be disabled
during initialization. Therefore update the sequence
to enable the channel before enabling the trigger and
continuous mode. After reading the battery ID result
from the RRADC controller, disable the trigger
and disable the channel after conversion request.

CRs-Fixed: 2023991
Change-Id: I461e04175ae351312b68771ef85cd928d5c0e4b1
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2017-03-23 16:45:37 -07:00
Subbaraman Narayanamurthy
b3dd099154 qpnp-fg-gen3: prime CC_SOC_SW when capacity learning begins
CC_SOC_SW can accumulate error over time and get saturated high
during capacity learning. Prime it to a value based on battery
SOC when capacity learning begins. This way, it can be ensured
that CC_SOC_SW doesn't saturate in a capacity learning cycle.

Change-Id: I2866ed6dadee84e84bf28fb08dc3a5a0ae353852
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-03-23 16:45:35 -07:00
Subbaraman Narayanamurthy
e0e09f7190 qpnp-fg-gen3: fg-memif: Clear CLEAR_LOG bit in DMA_CTL after handling error
Currently, if a DMA error is present, SW sets CLEAR_LOG bit
in DMA_CTL register to clear it. Since this bit is not self
clearing, one has to reset this back to 0 after error handling
finishes.

Change-Id: I824543338f98e06661276da0364dcb6d7496f9cc
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-03-23 16:42:10 -07:00
Subbaraman Narayanamurthy
46b94b6448 power: qpnp-fg-gen3: allow negative Rconn configuration
In some cases, to offset the battery resistance which may be high
because of battery profile characterization and hardware layout,
negative connector resistance (Rconn) should be specified. Allow
configuring it.

Change-Id: Ief64ac13ba0a384a599fe6fffdbc0d093180d0b8
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-03-23 16:39:06 -07:00
Skylar Chang
b07874c6eb msm: ipa: add retry to channel stop
Add a retry mechanism when trying to stop a producer pipe.
This is to avoid a timeout on stop channel when IPA is busy.

Change-Id: If9e0df976def1195171730624e02c185142e2964
CRs-Fixed: 2024084
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-03-23 16:36:32 -07:00
Vidyakumar Athota
b9732c9865 soc: qcom: fix to avoid multiple memory allocations
There is a chance that glink channel memory can be allocated multiple
times if wdsp_glink_ch_info_init() is called from multiple threads.
Avoid this scenario by protecting the private data structure.

Change-Id: I04fc19232b0f128b36a00dc1e73a3bed03664a93
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2017-03-23 13:48:55 -07:00
Honghao Liu
55df1580aa ASoC: msm: support 5 and 7 channel for TDM hw param
Add support for 5 and 7 channel for TDM hw param configuration.

CRs-fixed: 2021342
Change-Id: I933d5aa29c5c5578c884a3533772747db721fc0f
Signed-off-by: Honghao Liu <honghaol@codeaurora.org>
2017-03-23 11:13:12 -07:00
Honghao Liu
f7d9f43f02 ASoC: msm: add support for customized sound card
Add support for customized sound card that uses customized
TDM slot mapping and DAI links for automotive platform.

CRs-fixed: 2020063
Change-Id: I887b33d23d2af8af61cf15b499d14afbc9544e37
Signed-off-by: Honghao Liu <honghaol@codeaurora.org>
2017-03-23 11:12:46 -07:00