diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-17 16:12:21 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-17 16:50:51 -0500 |
commit | d5a7f23f9c8be29833ef4d805976b6906c25c658 (patch) | |
tree | 5cc4aa09bd100ba0853cf7566bd941d041babf9f /sound | |
parent | 8005f394ab3ffe2051c68dc434dd230f415cdd96 (diff) |
ASoC: wm8996: Make sure we bounce /RESET to reset
While it matches the current code only bringing the device out of reset
isn't actually doing what the function says so make sure we set the GPIO
high before we pull it low.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wm8996.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8996.c b/sound/soc/codecs/wm8996.c index a60d2ec249a2..aba144f69946 100644 --- a/sound/soc/codecs/wm8996.c +++ b/sound/soc/codecs/wm8996.c | |||
@@ -1709,6 +1709,7 @@ static bool wm8996_volatile_register(struct device *dev, unsigned int reg) | |||
1709 | static int wm8996_reset(struct wm8996_priv *wm8996) | 1709 | static int wm8996_reset(struct wm8996_priv *wm8996) |
1710 | { | 1710 | { |
1711 | if (wm8996->pdata.ldo_ena > 0) { | 1711 | if (wm8996->pdata.ldo_ena > 0) { |
1712 | gpio_set_value_cansleep(wm8996->pdata.ldo_ena, 1); | ||
1712 | gpio_set_value_cansleep(wm8996->pdata.ldo_ena, 0); | 1713 | gpio_set_value_cansleep(wm8996->pdata.ldo_ena, 0); |
1713 | return 0; | 1714 | return 0; |
1714 | } else { | 1715 | } else { |