Commit Graph

12 Commits

Author SHA1 Message Date
Laxminath Kasam
30ad751aac ASoC: rmmod fixes for audio drivers
For remove module(rmmod), update drivers
to cleanup resources and allow insert module
again without any issue.

Change-Id: Iddc6e5e11d986359afd3100bf3c5eab70cb1c1eb
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-03-01 16:02:06 +08:00
Laxminath Kasam
817af9a7f1 ASoC: sdm660_cdc: Fix ear_pa_gain control
In analog codec, EAR PA gain control get
function is updated with input value again
resulting in override. Remove the override
of control value again.

CRs-Fixed: 2161617
Change-Id: I7ddd252adf53666a6c9adc1bc92e840067fa932c
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-12-28 11:43:06 +05:30
Linux Build Service Account
344329b79c Merge "ASoC: remove error prints and warning at bootup log" 2017-12-20 00:31:39 -08:00
Rohit kumar
9326b2df53 asoc: codecs: disable analog codec static supplies during suspend
Disable regulator supplies of analog codec during suspend
to reduce power consumption.

CRs-Fixed: 2132296
Change-Id: Ia4b690f01e83e929f8bf4d279454e2ff2e8655a2
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
2017-11-30 00:33:35 -08:00
Laxminath Kasam
52697fe50c ASoC: remove error prints and warning at bootup log
Cleanup for errors and warning print in audio drivers.

CRs-Fixed: 2080345
Change-Id: Ib473dad9226127930be7079063e7795a802ca279
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-11-29 02:18:40 -08:00
Linux Build Service Account
4eaf88bd5e Merge "ASoC: wcd: set analog gain mode to manual when compander is off" 2017-11-16 02:19:12 -08:00
Linux Build Service Account
a4ced05898 Merge "ASoC: codecs: sdm660_cdc: Remove lb_mode mixer var from sdm660" 2017-11-10 17:24:16 -08:00
Vatsal Bucha
d4d03c03ef ASoC: codecs: sdm660_cdc: Remove lb_mode mixer var from sdm660
lb_mode var is redundant for sdm660_cdc.
Loopback works fine without this var also.

CRs-Fixed: 2101423
Change-Id: I727da02660a0f1d6ee5582fc2f2c0a8f6cd59bc1
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2017-11-07 04:09:07 -08:00
Vatsal Bucha
7be67e5fba ASoC: wcd: set analog gain mode to manual when compander is off
If compander DRE isn't turned on, ensure analog gain mode
is set to manual mode. This also resolves low volume
at one channel.

CRs-Fixed: 2102126
Change-Id: Id29b7055fe4f7fa7b3853c26770df38d10539d8c
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2017-11-07 17:25:41 +05:30
Vatsal Bucha
3249ff278d ASoC: codecs: sdm660_cdc: Fix kernel panic on sdm660-internal
Kernel panic is observed during SSR. This is because
ADSP does not get sufficient time to bring up LPASS after SSR.
An increase in ADSP Ready timeout resolves the issue.

CRs-Fixed: 2101404
Change-Id: Ia7d1ecde7a713b4d71b2a4ebb1f85a38b8fa28b5
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2017-11-07 02:52:31 -08:00
Rohit Kumar
4b5bd80a91 asoc: codecs: Add support to compile internal codec as module
Separate compilation of analog and digital codec and add
support to compile them as dynamic module.

Change-Id: I81f01bf60aef71f67e025fa4ff1ba805a960e61d
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
2017-10-03 06:44:15 -07:00
Laxminath Kasam
605b42f92c audio-lnx: Rename folders to new flat structure.
Kernel audio drivers can be categorised into below folders.
asoc - ALSA based drivers,
asoc/codecs - codec drivers,
ipc - APR IPC communication drivers,
dsp - DSP low level drivers/Audio ION/ADSP Loader,
dsp/codecs - Native encoders and decoders,
soc - SoC based drivers(pinctrl/regmap/soundwire)

Restructure drivers to above folder format.
Include directories also follow above format.

Change-Id: I8fa0857baaacd47db126fb5c1f1f5ed7e886dbc0
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-08-18 16:56:12 -06:00