Commit graph

586627 commits

Author SHA1 Message Date
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
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
Odelu Kukatla
9c90fd397a msm: msm_bus: initialize the local variable
Initialize the local variable 'ret' which is returned
from the function.

Change-Id: Ie82e74ce55b622db924e353a6ea98323c7642fa6
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2017-03-23 22:21:27 +05:30
Linux Build Service Account
27489753bf Merge "msm: mdss: add checks to fail solid fill with scaling" 2017-03-23 09:44:50 -07:00
Linux Build Service Account
0a6a4c21ff Merge "ARM: dts: msm: disable core_ctl for SDM630" 2017-03-23 09:44:48 -07:00
Linux Build Service Account
ce0b78dbf1 Merge "sched/core_ctl: Fix state_lock spinlock contention" 2017-03-23 09:44:48 -07:00
Linux Build Service Account
c2f18b4fd0 Merge "drm/msm: Take the mutex before calling msm_gem_new_impl" 2017-03-23 09:44:47 -07:00
Linux Build Service Account
081fe06477 Merge "msm: mdss: dp: fix check for audio support on the sink" 2017-03-23 09:44:46 -07:00
Linux Build Service Account
98c7dad6ff Merge "net: rmnet_data: Add support to configure custom device name" 2017-03-23 09:44:45 -07:00
Linux Build Service Account
e12647abbd Merge "usb: core: Enable xhci irq after starting controller" 2017-03-23 09:44:44 -07:00
Linux Build Service Account
9e50ecf4cf Merge "arm64: kaslr: use callee saved register to preserve SCTLR across C call" 2017-03-23 09:44:43 -07:00
Linux Build Service Account
b23d994e0c Merge "input: keyboard: add syscore_ops support to gpio_key driver" 2017-03-23 09:44:43 -07:00
Linux Build Service Account
a3eacc7296 Merge "devfreq_spdm: Handle spurious interrupts during bootup" 2017-03-23 09:44:42 -07:00
Linux Build Service Account
b66d4121c6 Merge "hwrng: Add quality parameter to msm-rng driver" 2017-03-23 09:44:41 -07:00
Linux Build Service Account
838e1d8348 Merge "f_qc_rndis: Compile rndis.c if CONFIG_USB_F_QCRNDIS is enabled" 2017-03-23 09:44:40 -07:00
Linux Build Service Account
087b2cafc7 Merge "ARM: dts: msm: Add support for speed-bin 2 for MSM8996v3" 2017-03-23 09:44:39 -07:00
Linux Build Service Account
44f8994b44 Merge "ARM: dts: msm: add panel physical dimensions for truly panel" 2017-03-23 09:44:38 -07:00
Linux Build Service Account
e0c1cae42e Merge "ASoC: msm_sdw: Avoid initial SSR notifications at bootup" 2017-03-23 09:44:38 -07:00
Linux Build Service Account
61249ef44b Merge "ASoC: wsa881x: Add mixer control to set WSA PA mute" 2017-03-23 09:44:37 -07:00
Linux Build Service Account
64b780b80c Merge "ASoC: sdm660_cdc: Fix 44.1 clip mute first time after boot" 2017-03-23 09:44:36 -07:00
Linux Build Service Account
de85a911ed Merge "ASoC: swr-wcd: Reduce latency for cold start on speaker" 2017-03-23 09:44:35 -07:00
Linux Build Service Account
f2e9e4fdd3 Merge "ASoC: sdm660_cdc: fix HPH CnP on sdm660 internal codec" 2017-03-23 09:44:35 -07:00
Linux Build Service Account
50c5bf4a56 Merge "ASoC: msm_sdw: Fix random mute on speaker when device switch" 2017-03-23 09:44:34 -07:00
Linux Build Service Account
d5d35b197a Merge "ASoC: msm_sdw: Fix compander register setting for speaker" 2017-03-23 09:44:33 -07:00
Linux Build Service Account
a646f0ad6f Merge "ASoC: wcd-mbhc: Fix list del entry issue on mbhc variable" 2017-03-23 09:44:32 -07:00
Linux Build Service Account
a69882a961 Merge "pinctrl: qcom: correct register offset for lpi_gpio_16/17 on sdm660" 2017-03-23 09:44:32 -07:00
Linux Build Service Account
9b1eeebe92 Merge "ASoC: audio-ext-clk: correct pinctrl info for lpass mclk" 2017-03-23 09:44:31 -07:00
Linux Build Service Account
ab2411c816 Merge "ARM: dts:msm: correct clk setting for native playback on SDM660" 2017-03-23 09:44:30 -07:00
Linux Build Service Account
2edff433a4 Merge "ASoC: wcd-spi: pre-allocate buffers used for transfers" 2017-03-23 09:44:29 -07:00
Linux Build Service Account
3535fcdc1b Merge "ASoC: sdm660_cdc: Fix no headset remove event after SSR" 2017-03-23 09:44:29 -07:00
Linux Build Service Account
0776e27963 Merge "ASoc: msm: remove capture property for SLIMBUS_6 Hostless playback" 2017-03-23 09:44:27 -07:00
Linux Build Service Account
733e887153 Merge "clk: msm: gcc-8996: Add pinctrl clk for ln_bb_clk" 2017-03-23 09:44:27 -07:00
Linux Build Service Account
17aa43536b Merge "clk: msm: clock-gcc-8996: Add additional frequencies for QSPI clock" 2017-03-23 09:44:26 -07:00
Linux Build Service Account
419d25863f Merge "usb: phy: qmp: Add support for fpc re-drive chipset" 2017-03-23 09:44:25 -07:00
Linux Build Service Account
70b1b26572 Merge "ARM: dts: msm: Add fpc re-drive support for SDM630 QRD" 2017-03-23 09:44:24 -07:00
Linux Build Service Account
775eee3cbf Merge "ARM: dts: msm: Add fpc re-drive support for SDM660 QRD" 2017-03-23 09:44:23 -07:00
Linux Build Service Account
1180bf2d24 Merge "ath10k: change log level for unknown wmi event print to debug" 2017-03-23 09:44:23 -07:00
Linux Build Service Account
24a299f33b Merge "iio: adc: tadc: fix leakage problem" 2017-03-23 09:44:22 -07:00
Linux Build Service Account
47577ec76d Merge "msm: camera: cpp: Replace const by macro" 2017-03-23 09:44:17 -07:00
Linux Build Service Account
3ed0c82430 Merge "msm: camera: add description for laser sensor" 2017-03-23 09:44:16 -07:00