[PATCH] Fix GPIOs bank H and J not being preserved during suspend

christian pellegrin chripell at fsfe.org
Mon Mar 8 06:17:17 EST 2010


On Fri, Mar 5, 2010 at 12:21 AM, Ben Dooks <ben-linux at fluff.org> wrote:

>> +#ifdef CONFIG_CPU_S3C244X
>> +     if (pin > S3C2410_GPJ(15))
>> +             return NULL;
>> +#else
>
> Hmm, could we use the arch define for number of GPIOs here instead
> of an ifdef?
>


ack, good idea. I'm sending the new patchi in response to this. Tested
on s3c2440 custom board.

-- 
Christian Pellegrin, see http://www.evolware.org/chri/
"Real Programmers don't play tennis, or any other sport which requires
you to change clothes. Mountain climbing is OK, and Real Programmers
wear their climbing boots to work in case a mountain should suddenly
spring up in the middle of the computer room."



More information about the linux-arm-kernel mailing list