]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ASoC: wm8904: configure sysclk/FLL automatically
authorMichael Walle <michael@walle.cc>
Fri, 8 Nov 2019 20:31:52 +0000 (21:31 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 11 Nov 2019 19:42:56 +0000 (19:42 +0000)
commit13409d27cb39fb1dfcb28418a9bc3d26907e1dbc
treed6413acb85d3dd3d2487b17eb2ec65debd2f7bd4
parente2db787bdcb4f2722ecf410168f0583764634e45
ASoC: wm8904: configure sysclk/FLL automatically

This adds a new mode WM8904_CLK_AUTO which automatically enables the FLL
if a frequency different than the MCLK is set.

These additions make the codec work with the simple-card driver in
general and especially in systems where the MCLK doesn't match the
required clock.

Signed-off-by: Michael Walle <michael@walle.cc>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20191108203152.19098-1-michael@walle.cc
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8904.c
sound/soc/codecs/wm8904.h