ASoC: wm8960: Make automatic the default clocking mode
authorMark Brown <broonie@kernel.org>
Mon, 31 Jul 2023 10:47:03 +0000 (11:47 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 31 Jul 2023 15:12:47 +0000 (16:12 +0100)
commit2bbc2df46e67be1a26b9c2b18a581b83e17ccb19
treeaf29740c0ac1a88a3448ba2b1c0498164f251681
parent0169cc3f200cbd737a57592fc478b24ff3cec3c5
ASoC: wm8960: Make automatic the default clocking mode

The wm8960 driver supports an automatic clocking mode which will use the
MCLK directly where possible and fall back to the PLL if there is no
suitable configuration directly using the MCLK.  Clock 0 will be used by
the generic cards when configuring things, currently this is a MCLK only
mode but using AUTO mode would be more functional.  Since the driver
still prefers to use MCLK directly where possible there should be no
negative impact on systems which are able to use MCLK directly.

As far as I can see nothing is using the system clock as part of the
ABI, the only reference I can see to a mode in a machine driver is the
Freescale i.MX card which uses the automatic mode with an explicit in
kernel call using the constant so will be unaffected.

Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230731-asoc-wm8960-clk-v1-2-69f9ffa2b10a@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8960.h