ASoC: wm8978: Remove remuxing of GPIO1 pin
authorEric Millbrandt <emillbrandt@dekaresearch.com>
Thu, 15 Nov 2012 19:46:02 +0000 (14:46 -0500)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 16 Nov 2012 00:41:55 +0000 (09:41 +0900)
Remove remuxing GPIO1.  Leave control of this up to the platform device.

Signed-off-by: Eric Millbrandt <emillbrandt@dekaresearch.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8978.c

index 5421fd9..4fba136 100644 (file)
@@ -527,9 +527,6 @@ static int wm8978_configure_pll(struct snd_soc_codec *codec)
                        return idx;
 
                wm8978->mclk_idx = idx;
-
-               /* GPIO1 into default mode as input - before configuring PLL */
-               snd_soc_update_bits(codec, WM8978_GPIO_CONTROL, 7, 0);
        } else {
                return -EINVAL;
        }