diff options
author | Mike Rapoport <mike@compulab.co.il> | 2009-05-11 12:11:38 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-05-11 20:01:51 +0200 |
commit | 1ffafeb556d50de8039e14f1cbbe58e9e4549915 (patch) | |
tree | 92cf8744e46fad65393f9d1a8b91aa8e286087dd /sound/arm | |
parent | ASoC: soc-core: fix crash when removing not instantiated card (diff) | |
download | linux-1ffafeb556d50de8039e14f1cbbe58e9e4549915.tar.xz linux-1ffafeb556d50de8039e14f1cbbe58e9e4549915.zip |
pxa2xx-ac97: fix reset gpio mode setting
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/arm')
-rw-r--r-- | sound/arm/pxa2xx-ac97-lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/arm/pxa2xx-ac97-lib.c b/sound/arm/pxa2xx-ac97-lib.c index a2c12d105c9a..6fdca97186e7 100644 --- a/sound/arm/pxa2xx-ac97-lib.c +++ b/sound/arm/pxa2xx-ac97-lib.c @@ -65,7 +65,7 @@ static void set_resetgpio_mode(int resetgpio_action) switch (resetgpio_action) { case RESETGPIO_NORMAL_ALTFUNC: if (reset_gpio == 113) - mode = 113 | GPIO_OUT | GPIO_DFLT_LOW; + mode = 113 | GPIO_ALT_FN_2_OUT; if (reset_gpio == 95) mode = 95 | GPIO_ALT_FN_1_OUT; break; |