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

Mike Rapoport mike at compulab.co.il
Mon May 11 13:08:31 CEST 2009



Eric Miao wrote:
> 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>
> 
> Just curious, this didn't cause any issue in the past :)

It's 2.6.30 material so there's not much 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
>>
> 
> 
> 

-- 
Sincerely yours,
Mike.



More information about the Alsa-devel mailing list