]> git.baikalelectronics.ru Git - kernel.git/commit
Merge series "Do not handle MCLK device clock in simple-card-utils" from Sameer Pujar...
authorMark Brown <broonie@kernel.org>
Tue, 16 Mar 2021 17:55:37 +0000 (17:55 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 16 Mar 2021 17:55:37 +0000 (17:55 +0000)
commitf8464a64c5d95fd695350526fcd04a7bd7f7a1de
treeef2bc112c1de35acde65fc49c159c1db80ffef16
parent5e69a12c91ec14e2b3693f52eeee56eb4758de43
parent7fd5e43c53a932fa8ecdecbe2c3fe8a6381cf562
Merge series "Do not handle MCLK device clock in simple-card-utils" from Sameer Pujar <spujar@nvidia.com>:

With commit dec654dc2c05 ("ASoC: simple-card-utils: Fix device module clock")
simple-card-utils can control MCLK clock for rate updates or enable/disable.
But this is breaking some platforms where it is expected that codec drivers
would actually handle the MCLK clock. One such example is following platform.
  - "arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts"

In above case codec, wm8904, is using internal PLL and configures sysclk
based on fixed MCLK input. In such cases it is expected that, required PLL
output or sysclk, is just passed via set_sysclk() callback and card driver
need not actually update MCLK rate. Instead, codec can take ownership of
this clock and do the necessary configuration.

So the original commit is reverted and codec driver for rt5659 is updated
to fix my board which has this codec.

Sameer Pujar (2):
  ASoC: simple-card-utils: Do not handle device clock
  ASoC: rt5659: Update MCLK rate in set_sysclk()

 sound/soc/codecs/rt5659.c             |  5 +++++
 sound/soc/generic/simple-card-utils.c | 13 +++++++------
 2 files changed, 12 insertions(+), 6 deletions(-)

--
2.7.4