]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit07bd18649f32193b8ae560ee8e8c44df46216f3a
treea3153c374bdd64657331414b7eb4544bf97c3607
parent0e4e4c6d8c28f24d223c74e99455e7390c894000
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