]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - sound/soc/codecs/wm8962.c
ASoC: Ensure the WM8962 oscillator and PLLs start up disabled
[karo-tx-linux.git] / sound / soc / codecs / wm8962.c
index ebff8ad788ac56b71eb60293bad20f62d7f412f7..4a0f666a90bdc2f04973db4c0712f58f9bdc4f6d 100644 (file)
@@ -3829,6 +3829,11 @@ static int wm8962_probe(struct snd_soc_codec *codec)
         */
        snd_soc_update_bits(codec, WM8962_CLOCKING2, WM8962_SYSCLK_ENA, 0);
 
+       /* Ensure that the oscillator and PLLs are disabled */
+       snd_soc_update_bits(codec, WM8962_PLL2,
+                           WM8962_OSC_ENA | WM8962_PLL2_ENA | WM8962_PLL3_ENA,
+                           0);
+
        regulator_bulk_disable(ARRAY_SIZE(wm8962->supplies), wm8962->supplies);
 
        if (pdata) {