[alsa-devel] [PATCH] pxa2xx-ac97: fix reset gpio mode setting

Robert Jarzmik robert.jarzmik at free.fr
Mon May 11 19:30:14 CEST 2009


Eric Miao <eric.y.miao at gmail.com> writes:

> On Mon, May 11, 2009 at 6:11 PM, Mike Rapoport <mike at compulab.co.il> wrote:
>> Signed-off-by: Mike Rapoport <mike at compulab.co.il>
>
> Acked-by: Eric Miao <eric.miao at marvell.com>
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.

Acked-by: Robert Jarzmik <robert.jarzmik at free.fr>

--
Robert

> Just curious, this didn't cause any issue in the past :)
>
>> ---
>>  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 a2c12d1..6fdca97 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;
>> --
>> 1.5.6.4
>>
>> _______________________________________________
>> Alsa-devel mailing list
>> Alsa-devel at alsa-project.org
>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>>
>
>
>
> -- 
> Cheers
> - eric
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


More information about the Alsa-devel mailing list