From: Mark Brown Date: Thu, 30 Sep 2010 21:18:48 +0000 (-0700) Subject: ASoC: Relax restrictions on WM8962 BCLK configuration X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d330a080a87831b693a2dad1058cd11bbb6c3736;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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: Mark Brown Acked-by: Liam Girdwood --- diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c index be34146a775b..38cbf85688f6 100644 --- a/sound/soc/codecs/wm8962.c +++ b/sound/soc/codecs/wm8962.c @@ -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;