ASoC: rt5640: Update MCLK rate in set_sysclk()
authorSameer Pujar <spujar@nvidia.com>
Thu, 9 Feb 2023 14:36:56 +0000 (20:06 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 9 Feb 2023 16:06:38 +0000 (16:06 +0000)
commit9f138bb2eaf661788df459dfcaf38feb080af41f
tree8f1fb2bc23c86bfc9366989817e69a129f1ab8b4
parent2512839dd648ffa2c2a752e1403aaeb928cff71a
ASoC: rt5640: Update MCLK rate in set_sysclk()

Simple-card/audio-graph-card drivers do not handle MCLK clock when it
is specified in the codec device node. The expectation here is that,
the codec should actually own up the MCLK clock and do necessary setup
in the driver.

This is inspired from,
commit dbf54a953435 ("ASoC: rt5659: Update MCLK rate in set_sysclk()").

Cc: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Link: https://lore.kernel.org/r/1675953417-8686-2-git-send-email-spujar@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5640.c