From: Mike Rapoport Date: Mon, 11 May 2009 10:11:38 +0000 (+0300) Subject: pxa2xx-ac97: fix reset gpio mode setting X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1ffafeb556d50de8039e14f1cbbe58e9e4549915;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git pxa2xx-ac97: fix reset gpio mode setting Signed-off-by: Mike Rapoport Acked-by: Eric Miao Signed-off-by: Mark Brown --- 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;