ASoC: Relax restrictions on WM8962 BCLK configuration
Subsystems (3)
PATCH 1/1 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.
--- sound/soc/codecs/wm8962.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
sound/soc/codecs/wm8962.c +0 -6
@@ -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 ;
Signature · 1 line
1.7.1
Quoted 16 lines · Mark Brown
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 <[email protected]>--- sound/soc/codecs/wm8962.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)sound/soc/codecs/wm8962.c +0
-0@@ -911,12 +911,6 @@ static void wm8962_configure_bclk(struct snd_soc_codec *codec)int clocking2 =0 ;int aif2 =0 ;
sound/soc/codecs/wm8962.c static void wm8962_configure_bclk(struct snd_soc_codec *codec) · line 916
Quoted 10 lines
sound/soc/codecs/wm8962.c +0
-6-/* 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 ;
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk
Quoted 5 lines · Mark Brown
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 <[email protected]>
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk