pxa2xx-ac97: fix reset gpio mode setting
Subsystems (2)
PATCH 1/1 pxa2xx-ac97: fix reset gpio mode setting
--- sound/arm/pxa2xx-ac97-lib.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/arm/pxa2xx-ac97-lib.c +1 -1
@@ -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 ;
Signature · 1 line
1.5.6.4
Quoted 1 line · Mike Rapoport
Signed-off-by Mike Rapoport <[email protected]>
Just curious, this didn't cause any issue in the past :)
Quoted 25 lines
---
sound/arm/pxa2xx-ac97-lib.c | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)sound/arm/pxa2xx-ac97-lib.c +0
-0@@ -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;
--
1.5.6.4_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Signature · 6 lines
Cheers - eric _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 6 lines · Eric Miao
Quoted 1 line · Mike Rapoport
Signed-off-by Mike Rapoport <[email protected]>Acked-by Eric Miao <[email protected]>Just curious, this didn't cause any issue in the past :)
It's 2.6.30 material so there's not much past :)
Quoted 28 lines
Quoted 25 lines
--- sound/arm/pxa2xx-ac97-lib.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)sound/arm/pxa2xx-ac97-lib.c +1
-2@@ -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 ; --1.5.6.4
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Signature · 2 lines
Sincerely yours, Mike.
Dne pondělí 11 Květen 2009 12:51:14 Eric Miao napsal(a):
Quoted 7 lines · Mike Rapoport
Quoted 1 line
Signed-off-by Mike Rapoport <[email protected]>Acked-by Eric Miao <[email protected]>Just curious, this didn't cause any issue in the past :)
It's probably because all machines set AFN with pxa2xx_mfp_config in start-up. I have seen this when I tried to locate Palm AC97 problem after resume...
Tomas Cech
-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
Quoted 4 lines · Eric Miao
Quoted 1 line · Mike Rapoport
Signed-off-by Mike Rapoport <[email protected]>Acked-by Eric Miao <[email protected]>
Argh, that was my screw up ... Let's forward that to Mark, and see if that can make it into the 2.6.30 fixes.
--
Robert
Quoted 22 lines
Just curious, this didn't cause any issue in the past :)
Quoted 20 lines
---
sound/arm/pxa2xx-ac97-lib.c | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)sound/arm/pxa2xx-ac97-lib.c +0
-0@@ -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;
--
1.5.6.4
Quoted 15 lines
Quoted 5 lines
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develSignature · 6 lines
Cheers - eric _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Mark Brown
AppliedQuoted 1 line · Mike Rapoport
Signed-off-by Mike Rapoport <[email protected]>
Applied, thanks. Please CC me on things...
Quoted 4 lines · Mark Brown
Quoted 1 line · Mike Rapoport
Signed-off-by Mike Rapoport <[email protected]>Applied, thanks. Please CC me on things...
My fault, I forgot to include you, sorry about that.
_______________________________________________
Alsa-devel mailing list [email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel