On Fri, Jul 4, 2014 at 3:03 PM, Maxime Ripard
<[email protected]> wrote:
> Hi,
>
> On Tue, Jul 01, 2014 at 12:04:59AM +0800, Chen-Yu Tsai wrote:
>> When mapping the interrupts, the gpio_to_irq function did not consider
>> the bank number of the gpio pin in question, only the offset or the
>> interrupt number in the bank. As a result, requests for interrupts in
>> the later banks get mapped to the first bank.
>>
>> This issue was discovered while enabling mmc on the new sun8i platform.
>> The tablet I have uses a pin/interrupt from the second bank to do mmc
>> card detection. Tested on this very device with register inspection and
>> actual mmc card insertion/removal.
>>
>> Signed-off-by: Chen-Yu Tsai <[email protected]>
>
> Acked-by: Maxime Ripard <[email protected]>
>
> Linus, could this be merged as a fix for 3.16?

Aren't your multi-bank external interrupt patches queued for 3.17?
This patch applies over them.


ChenYu

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to