Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>

-6
-6
sound/soc/codecs/wm8962.c
··· 911 911 int clocking2 = 0; 912 912 int aif2 = 0; 913 913 914 - /* If the CODEC is powered on we can configure BCLK */ 915 - if (codec->bias_level != SND_SOC_BIAS_OFF) { 916 - dev_dbg(codec->dev, "Bias is off, can't configure BCLK\n"); 917 - return; 918 - } 919 - 920 914 if (!wm8962->bclk) { 921 915 dev_dbg(codec->dev, "No BCLK rate configured\n"); 922 916 return;