aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2017-04-30 22:15:37 +0900
committerMark Brown <broonie@kernel.org>2017-04-30 22:15:37 +0900
commit9dfc53942d04875c4b2fd1706f5abf93957e7106 (patch)
tree1970b862228d797bb4635737cd52296adf92cb2d /sound
parentMerge remote-tracking branch 'asoc/fix/rcar' into asoc-linus (diff)
parentASoC: cs4271: configure reset GPIO as output (diff)
downloadwireguard-linux-9dfc53942d04875c4b2fd1706f5abf93957e7106.tar.xz
wireguard-linux-9dfc53942d04875c4b2fd1706f5abf93957e7106.zip
Merge remote-tracking branch 'asoc/fix/cs4271' into asoc-linus
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/cs4271.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs4271.c b/sound/soc/codecs/cs4271.c
index 8c0f3b89b5bc..e78b5f055f25 100644
--- a/sound/soc/codecs/cs4271.c
+++ b/sound/soc/codecs/cs4271.c
@@ -498,7 +498,7 @@ static int cs4271_reset(struct snd_soc_codec *codec)
struct cs4271_private *cs4271 = snd_soc_codec_get_drvdata(codec);
if (gpio_is_valid(cs4271->gpio_nreset)) {
- gpio_set_value(cs4271->gpio_nreset, 0);
+ gpio_direction_output(cs4271->gpio_nreset, 0);
mdelay(1);
gpio_set_value(cs4271->gpio_nreset, 1);
mdelay(1);