diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2024-02-23 18:51:07 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-02-26 14:03:13 +0000 |
commit | e3741a8d28a1137f8b19ae6f3d6e3be69a454a0a (patch) | |
tree | 7a2cad62de7b2add3051aa15ed88deec1b0494ba /sound/hda | |
parent | 0c4ebb28b3db4f435ddb68e1f4185f8c86b149ef (diff) | |
download | linux-stable-e3741a8d28a1137f8b19ae6f3d6e3be69a454a0a.tar.gz linux-stable-e3741a8d28a1137f8b19ae6f3d6e3be69a454a0a.tar.bz2 linux-stable-e3741a8d28a1137f8b19ae6f3d6e3be69a454a0a.zip |
ASoC: meson: axg-tdm-interface: fix mclk setup without mclk-fs
By default, when mclk-fs is not provided, the tdm-interface driver
requests an MCLK that is 4x the bit clock, SCLK.
However there is no justification for this:
* If the codec needs MCLK for its operation, mclk-fs is expected to be set
according to the codec requirements.
* If the codec does not need MCLK the minimum is 2 * SCLK, because this is
minimum the divider between SCLK and MCLK can do.
Multiplying by 4 may cause problems because the PLL limit may be reached
sooner than it should, so use 2x instead.
Fixes: d60e4f1e4be5 ("ASoC: meson: add tdm interface driver")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://msgid.link/r/20240223175116.2005407-2-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions