Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d330a080 authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: Relax restrictions on WM8962 BCLK configuration



The restrictions on configuring BCLK are overly cautious, other constraints
in the system should ensure that reconfiguration is not possible when the
device is sufficiently active to be unable to support reclocking.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 33cf45c8
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -911,12 +911,6 @@ static void wm8962_configure_bclk(struct snd_soc_codec *codec)
	int clocking2 = 0;
	int aif2 = 0;

	/* If the CODEC is powered on we can configure BCLK */
	if (codec->bias_level != SND_SOC_BIAS_OFF) {
		dev_dbg(codec->dev, "Bias is off, can't configure BCLK\n");
		return;
	}

	if (!wm8962->bclk) {
		dev_dbg(codec->dev, "No BCLK rate configured\n");
		return;