mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
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>
This commit is contained in:
parent
914dc18255
commit
1ffafeb556
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue