ASoC: rt5640: Do not manipulate pin "Platform Clock" if the "Platform Clock" is not...
authorOder Chiou <oder_chiou@realtek.com>
Mon, 16 May 2022 10:30:55 +0000 (18:30 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 24 May 2022 11:35:08 +0000 (12:35 +0100)
commit832296804bc7171730884e78c761c29f6d258e13
treea3153c374bdd64657331414b7eb4544bf97c3607
parent803a1f7272797faa15a7879cdc70f9adaf3fdcba
ASoC: rt5640: Do not manipulate pin "Platform Clock" if the "Platform Clock" is not in the DAPM

The pin "Platform Clock" was only used by the Intel Byt CR platform. In the
others, the error log will be informed. The patch will set the flag to
avoid the pin "Platform Clock" manipulated by the other platforms.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Reported-by: Sameer Pujar <spujar@nvidia.com>
Link: https://lore.kernel.org/r/20220516103055.20003-1-oder_chiou@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5640.c
sound/soc/codecs/rt5640.h
sound/soc/intel/boards/bytcr_rt5640.c