linux/sound/soc/qcom
Srinivasa Rao Mandadapu b182496822
ASoC: qcom: Fix enabling BCLK and LRCLK in LPAIF invalid state
Fix enabling BCLK and LRCLK only when LPAIF is invalid state and
bit clock in enable state.
In device suspend/resume scenario LPAIF is going to reset state.
which is causing LRCLK disable and BCLK enable.
Avoid such inconsitency by removing unnecessary cpu dai prepare API,
which is doing LRCLK enable, and by maintaining BLCK  state information.

Fixes: 7e6799d8f8 ("ASoC: qcom: lpass-cpu: Enable MI2S BCLK and LRCLK together")

Signed-off-by: V Sujith Kumar Reddy <vsujithk@codeaurora.org>
Signed-off-by: Srinivasa Rao Mandadapu <srivasam@codeaurora.org>
Link: https://lore.kernel.org/r/1606148273-17325-1-git-send-email-srivasam@codeaurora.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-11-23 18:37:34 +00:00
..
qdsp6 ASoC: q6afe-clocks: Fix typo in SPDX Licence 2020-09-28 11:32:13 +01:00
apq8016_sbc.c ASoC: qcom: Set card->owner to avoid warnings 2020-08-21 16:12:10 +01:00
apq8096.c ASoC: qcom: Set card->owner to avoid warnings 2020-08-21 16:12:10 +01:00
common.c Merge branch 'asoc-5.9' into asoc-5.10 2020-09-17 16:35:38 +01:00
common.h ASoC: qcom: remove unused header files from common.h 2018-08-06 12:50:07 +01:00
Kconfig ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
lpass-apq8016.c ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
lpass-cpu.c ASoC: qcom: Fix enabling BCLK and LRCLK in LPAIF invalid state 2020-11-23 18:37:34 +00:00
lpass-hdmi.c ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
lpass-hdmi.h ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
lpass-ipq806x.c ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
lpass-lpaif-reg.h ASoC: qcom: Fix enabling BCLK and LRCLK in LPAIF invalid state 2020-11-23 18:37:34 +00:00
lpass-platform.c ASoC: qcom: Fix enabling BCLK and LRCLK in LPAIF invalid state 2020-11-23 18:37:34 +00:00
lpass-sc7180.c ASoC: qcom: lpass-sc7180: Fix MI2S bitwidth field bit positions 2020-10-29 12:24:13 +00:00
lpass.h ASoC: qcom: Fix enabling BCLK and LRCLK in LPAIF invalid state 2020-11-23 18:37:34 +00:00
Makefile ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
sdm845.c ASoC: qcom: sdm845: set driver name correctly 2020-10-23 18:28:50 +01:00
storm.c ASoC: qcom: Set card->owner to avoid warnings 2020-08-21 16:12:10 +01:00