asoc: msm_common: clock handling for tdm interface

Observed pop noise on TDM SPK AMP in the disable sequence. To resolve
the pop noise, TDM clock should be turned OFF after digital mute ,which is done
in machine driver for the disable sequence.

Change-Id: I9c8b5ef820cd8ec1e9a7d022e1938d53e2f401a1
Signed-off-by: Prasad Kumpatla <pkumpatl@codeaurora.org>
This commit is contained in:
Prasad Kumpatla
2021-07-08 16:22:20 +05:30
parent 6a725a093e
commit a40c1bebd9
5 changed files with 99 additions and 0 deletions

View File

@@ -213,6 +213,7 @@ static bool msm_swap_gnd_mic(struct snd_soc_component *component, bool active)
}
static struct snd_soc_ops msm_common_be_ops = {
.hw_params = msm_common_snd_hw_params,
.startup = msm_common_snd_startup,
.shutdown = msm_common_snd_shutdown,
};