]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: codecs: es8316: Fix HW rate calculation for 48Mhz MCLK
authorMarian Postevca <posteuca@mutex.one>
Fri, 27 Dec 2024 20:27:51 +0000 (22:27 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 7 Jan 2025 11:58:30 +0000 (11:58 +0000)
commit85c9ac7a56f731ecd59317c822cb6295464444cc
treeeec3c1730938886163d58ceba3b1cac17b9afb55
parent5ed01155cea69801f1f0c908954a56a5a3474bed
ASoC: codecs: es8316: Fix HW rate calculation for 48Mhz MCLK

For 48Mhz MCLK systems the calculation of the HW rate is broken,
and will not produce even one sane rate. Since es83xx supports
the option to halve MCLK, calculate also rates with MCLK/2.

Signed-off-by: Marian Postevca <posteuca@mutex.one>
Link: https://patch.msgid.link/20241227202751.244954-1-posteuca@mutex.one
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8316.c