Commit graph

586219 commits

Author SHA1 Message Date
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
Linux Build Service Account
76b2cd2549 Merge "qcom: qnovo: Fix property write out of range errors" 2017-03-23 09:44:13 -07:00
Linux Build Service Account
41bcca59c9 Merge "msm: isp: Fix ping pong mismatch issue" 2017-03-23 09:44:12 -07:00
Linux Build Service Account
7918375ff3 Merge "msm: camera: Add error check for cmd in IOCTL." 2017-03-23 09:44:11 -07:00
Linux Build Service Account
42762d628d Merge "msm: isp: update logic to reject invalid frame" 2017-03-23 09:44:06 -07:00
Linux Build Service Account
edb4127363 Merge "ARM: dts: msm: Set the rate for camss vfe clock on msm8998" 2017-03-23 09:44:05 -07:00
Linux Build Service Account
23c2afd695 Merge "msm: common: set clk rate when rate is INIT_RATE" 2017-03-23 09:44:04 -07:00
Harry Yang
5bad79e773 qcom: qnovo: Fix property write out of range errors
Update property value ranges, in compliance with qnovo design spec.

Also, allow the user to set the parameters values in different number
base. While at it, fix the file permission values for all the
parameters to octal representation.

Change-Id: I0d0f14c22457322c7d79b95107e3cbfcd4a8a0b6
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2017-03-22 15:15:13 -07:00
Laxminath Kasam
145923d535 ASoC: sdm660_cdc: Fix 44.1 clip mute first time after boot
After boot, insert headphone and play 44.1 clip fails to play
first time sometimes. Since at bootup MCLK is acquired at
9.6MHz and not reset. And for 44.1MHz, request for 11.2896MHz
is done causes overwrite of frequency request at DSP which is not
allowed and causes playback to fail. At bootup regacache call for
digital codec result in additional vote for MCLK if int_mclk0_enabled
flag is false. Change the order in device_down call from analog codec
and also avoid notifier call for SUBSYS_DOWN at bootup.

Change-Id: Ifc0540826d38c5adf8b068ea87d5a5f71a4ac674
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-03-22 00:51:47 -07:00
Laxminath Kasam
bd01dc59f2 ASoC: swr-wcd: Reduce latency for cold start on speaker
In SDM660 WSA speaker using MSM over soundwire version,
observe high cold start latency. As interrupt is disabled,
broadcast ack is not received which results in 200ms higher
latency. Reduce latency impact by blocking only for 10ms
for MSM over soundwire version.

Change-Id: Ic0e659d7c443c1462aba4da2f8bf9471031d02d2
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-03-22 00:51:02 -07:00
Laxminath Kasam
78bbe3cbe5 ASoC: sdm660_cdc: fix HPH CnP on sdm660 internal codec
Enable digital clock bits before digital codec reset.
Also update HD2 settings as per latest HW sequences.

CRs-Fixed: 2018603
Change-Id: I270a324ffebc8b84ef23ff6b209efcde724f9b37
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-03-22 00:42:11 -07:00
Laxminath Kasam
9fab026308 ASoC: msm_sdw: Fix random mute on speaker when device switch
Observe random mute on speaker during device switch on
secondary images. Avoid reading previous register
read when SWR slave read and overwrite of previous register
when SWR slave write, by adjusting delays in respective APIs.

Change-Id: I302968ad8e774598c8414e05ba669f90bf39b82c
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-03-22 00:37:24 -07:00
Laxminath Kasam
9c6cccf6b8 ASoC: msm_sdw: Fix compander register setting for speaker
Observe compander for one speaker is not working.
Update offset in config compander API to set compander registers
as expected.

CRs-Fixed: 2019754
Change-Id: Ib75e01016e6a9fd39a953da40f36babc3beaec13
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-03-22 00:33:37 -07:00
Laxminath Kasam
f4a76fca6b ASoC: wcd-mbhc: Fix list del entry issue on mbhc variable
Without re-init timeout completion of btn_press object
waiting in correct_plug_swch work, if mbhc_deinit and mbhc_start
happens again, it results in crash. In mbhc_deinit,
cancel correct_plug_swch work to handle this.

CRs-Fixed: 2018976
Change-Id: Ic26edea18f5a8554f4dff3bf6ad49ec039493a64
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-03-22 00:33:07 -07:00
Meng Wang
eeba4974b8 pinctrl: qcom: correct register offset for lpi_gpio_16/17 on sdm660
Register offset for LPI_GPIO_16/17 should be 0x5040/0x5050.
Correct the offset to make sure LPI_GPIO_16/17 work.

CRs-Fixed: 2019608
Change-Id: Iac0bc2b434b23094c297e69eabea4d72bfd1eb8b
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2017-03-22 00:30:23 -07:00
Meng Wang
3f99ccf50d ASoC: audio-ext-clk: correct pinctrl info for lpass mclk
Pinctrl info is set to ap mclk for all the client. Remove
the wrong assignment.

Change-Id: I95fb16367157fa0cb47a1a25290eadb4472abb51
CRs-Fixed: 2015665
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2017-03-22 00:29:43 -07:00
Meng Wang
d5e2207b82 ARM: dts:msm: correct clk setting for native playback on SDM660
LPI GPIO 18 is used as a clock for native playback for wcd9335
on SDM660. Correct it as lpass mclk, not ap clk.

CRs-Fixed: 2015665
Change-Id: I1fa5f2dc314a73d139aacbb9689e9a161b9a54ef
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2017-03-22 00:29:23 -07:00
Bhalchandra Gajare
554b0acd0a ASoC: wcd-spi: pre-allocate buffers used for transfers
Currently, the buffers used for transfers are allocated each time
the transfer is requested. This causes memory allocation failure
for higher order allocations possibly due to fragmentation or no
higher order blocks being available. Fix this by allocating the
buffers during the component bind and re-use the buffers across
transfers.

CRs-fixed: 2014478
Change-Id: I48212678e39d089fbb903d195faf45436f358f4b
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2017-03-22 00:29:01 -07:00
Laxminath Kasam
1650f182b6 ASoC: sdm660_cdc: Fix no headset remove event after SSR
Restart mechanical detection as part of SSR device_up
functionality to receive headset events after SSR.

CRs-Fixed: 2015351
Change-Id: I359c701b8c7c086c087ab5fa7714b6bd3f7c4708
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-03-22 00:25:34 -07:00
Meng Wang
0ba15ea7a7 ASoc: msm: remove capture property for SLIMBUS_6 Hostless playback
Backend SLIMBUS_6 Hostless Playback only supports playback, not capture.
Remove capture property to avoid invalid access.

Change-Id: I7cc426a4badb50fbd7e83454fa89e3a0f2a89c23
CRs-Fixed: 2014489
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2017-03-22 00:23:51 -07:00
Devesh Jhunjhunwala
96e7d2f66e clk: msm: gcc-8996: Add pinctrl clk for ln_bb_clk
Add the pinctrl clock for ln_bb_clk to the GCC driver
for MSM8996.

CRs-Fixed: 1063062
Change-Id: If85a0dbb26e350588cbd6614c032bf208a205be2
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
2017-03-22 00:23:24 -07:00
Deepak Katragadda
ab0349c601 clk: msm: clock-gcc-8996: Add additional frequencies for QSPI clock
Add support for additional frequencies for the qspi_ser_clk_src
on msm8996.

Change-Id: I4efa0ad4dc3f68a0c54bd4cf7ee77b4c78be4be1
CRs-Fixed: 994014
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2017-03-22 00:17:10 -07:00
Rakesh Pillai
fa3bbdac23 ath10k: change log level for unknown wmi event print to debug
Unknown WMI events are being printed with log level warning.
Change the log level for the unknown wmi event print to debug.

CRs-Fixed: 2019156
Change-Id: Ice39487c698462d6c845dab2ede93f5c856364c0
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
2017-03-21 22:46:56 -07:00
Linux Build Service Account
630218f710 Merge "diag: Add mutex protection while closing diag channels" 2017-03-21 21:30:35 -07:00
Linux Build Service Account
e084f910fc Merge "firmware: qcom: tz_log: update datatype for int_count" 2017-03-21 21:30:33 -07:00
Linux Build Service Account
afc27e8460 Merge "drivers: soc: qcom: Remove prints from the idle path" 2017-03-21 21:30:32 -07:00
Linux Build Service Account
db71be31d5 Merge "soc: qcom: Do not clear segments if pil boot failed in memory allocation" 2017-03-21 21:30:30 -07:00
Linux Build Service Account
6887b6aad3 Merge "qseecom: check img_len and mdt_len against ion buf len" 2017-03-21 21:30:29 -07:00
Linux Build Service Account
63739565ad Merge "ARM: dts: msm: Change ipa polling parameter in SDM660/630" 2017-03-21 21:30:28 -07:00
Linux Build Service Account
c65465727b Merge "pmic-voter: move to common header location" 2017-03-21 21:30:26 -07:00