summaryrefslogtreecommitdiff
path: root/asoc/codecs/wcd-mbhc-legacy.c
AgeCommit message (Collapse)Author
2019-06-10ASoC: mbhc: Fix left channel getting disabled in hs_rem_irqVatsal Bucha
In wcd_mbhc_adc_hs_rem_irq when hph_on bit is set both left and right channel should get enabled. But we enable left channel first, disable left ch and enable right channel. Fix this to enable both left and right channel. Change-Id: Ia50c55a0ed68e01359ef0a9c76eba6901a04e17c Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-12-18asoc: update relative header filesMeng Wang
Move all relative header files to include folder. Change-Id: Ic61a61a88823b4749dbe8c1f680d08201a3b4a48 Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-10asoc: Update file header to GPL-2.0-onlyMeng Wang
Update file header to GPL-2.0-only. Change-Id: Ic1542a3209a5fe73c937a5b36491ede4a451936d Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-08ASoC: codec: Update codec driver to component driverMeng Wang
Some alsa API are removed in kernel-4.19 which would cause codec driver compile failure. Update codec driver to fix it. Change-Id: Ie358ec1863082166958059c179300b453d2a03ad Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-07ASoC: switch audio drivers to SPDX identifierMeng Wang
Switch audio drivers to SPDX identifier on msm-4.19. Change-Id: Ic3f0230a516db251b8d81e8a7e73dbc04d66fe1b Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-02-28asoc: codecs: add a null pointer check in mbhc driverRamprasad Katkam
Add a missing function pointer null check condition in mbhc driver to avoid null access during fast insertion-removal. Change-Id: I6aa64325cea6f7aa551115969d1e6ba184ec8d14 Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2017-12-21ASoC: wcd: Avoid multiple insertion/removals for aux cableVatsal Bucha
High impedance aux cable when inserted causes jack to change to lineout. This causes removal event to be called which results in pause during music playback because jack value is not updated. Do not change current plug while plug is marked as lineout. CRs-Fixed: 2151012 Change-Id: I99797b58c48be00185a352094e32e8623faee491 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2017-12-11asoc: codecs: modify gnd mic swap threshold for usb-c analogKarthikeyan Mani
To reduce time of usb-c analog headset detection, reduce gnd mic swap threshold if usb-c is enabled. Use existing threshold value otherwise. CRs-Fixed: 2137077 Change-Id: Ic1d1f3a00c9034caaac45f2c80f018546a69ce59 Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2017-09-28ASoC: wcd-mbhc: update electrical removal detection logicMeng Wang
when moisture is in jack, removing of the plug result in electrical removal interrupt. So, update electrical interrupt handler to handle mechanical removal based on moisture status. CRs-Fixed: 2058106 Change-Id: I9cfbfbaf04783f0edcadb14d7828759020745289 Signed-off-by: Meng Wang <mwang@codeaurora.org>
2017-08-18audio-lnx: Rename folders to new flat structure.Laxminath Kasam
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>