diff options
| author | Marek Szyprowski <m.szyprowski@samsung.com> | 2026-10-21 12:17:45 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-21 16:25:52 +0100 |
| commit | d9c23ac1217ab094e6bd9ab95e159ec72c8baca5 (patch) | |
| tree | 93c0413a1baeeec33352ff2d1799e2b1d4c090bf /scripts/basic | |
| parent | 7916b55b100973b5fb5b974e8f7c8ae9f3ac1d2e (diff) | |
| download | linux-d9c23ac1217ab094e6bd9ab95e159ec72c8baca5.tar.gz linux-d9c23ac1217ab094e6bd9ab95e159ec72c8baca5.zip | |
ASoC: samsung: midas_wm1811: run FLL1 at the AIF1 configured rate when idle
When the codec is brought up without an active stream, for example
because the mixer state restored by alsactl powers up a digital path,
midas_start_fll1() sets FLL1 to the default 11.2896MHz rate. The
codec's AIF1 however keeps the configuration of the last stream, or its
reset default of 48kHz at 256fs before the first stream, which needs
a 12.288MHz AIF1 clock. The digital paths then run with AIF1 clocked
at a rate not matching its configuration.
Remember the FLL1 rate requested by the last hw_params() call, which
matches the AIF1 configuration kept in the codec, and use it when no
specific rate is requested. Change the default rate used before the
first stream to 12.288MHz, matching the codec's default AIF1
configuration.
Fixes: fd0ea9cd9698 ("ASoC: samsung: Add sound support for Midas boards")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://patch.msgid.link/20261021101750.3297770-5-m.szyprowski@samsung.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
