ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
authorMark Brown <broonie@kernel.org>
Fri, 25 Mar 2022 15:42:39 +0000 (15:42 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 4 Apr 2022 13:24:03 +0000 (14:24 +0100)
commitc775cbf62ed4911e4f0f23880f01815753123690
treec394960c492dad3763cbe9f17955b02a5947d3b3
parent3123109284176b1532874591f7c81f3837bbdc17
ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek

The MCLK of the WM8731 on the AT91SAM9G20-EK board is connected to the
PCK0 output of the SoC, intended in the reference software to be supplied
using PLLB and programmed to 12MHz. As originally written for use with a
board file the audio driver was responsible for configuring the entire tree
but in the conversion to the common clock framework the registration of
the named pck0 and pllb clocks was removed so the driver has failed to
instantiate ever since.

Since the WM8731 driver has had support for managing a MCLK provided via
the common clock framework for some time we can simply drop all the clock
management code from the machine driver other than configuration of the
sysclk rate, the CODEC driver still respects that configuration from the
machine driver.

Fixes: ff78a189b0ae55f ("ARM: at91: remove old at91-specific clock driver")
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Link: https://lore.kernel.org/r/20220325154241.1600757-2-broonie@kernel.org
sound/soc/atmel/sam9g20_wm8731.c