[PATCH] mtd: mxc_nand: do not depend on disabling the irq in the interrupt handler

Eric Bénard eric at eukrea.com
Thu Sep 30 15:21:11 EDT 2010


Le 29/09/2010 09:28, Sascha Hauer a écrit :
> David,
>
> On Thu, Sep 23, 2010 at 02:16:52PM +0300, Artem Bityutskiy wrote:
>> On Tue, 2010-09-21 at 09:40 +0200, Sascha Hauer wrote:
>>> This patch reverts the driver to enabling/disabling the NFC interrupt
>>> mask rather than enabling/disabling the system interrupt. This cleans
>>> up the driver so that it doesn't rely on interrupts being disabled
>>> within the interrupt handler.
>>> For i.MX21 we keep the current behaviour, that is calling
>>> enable_irq/disable_irq_nosync to enable/disable interrupts.
>>> This patch is based on earlier work by John Ogness.
>>>
>>> Signed-off-by: Sascha Hauer<s.hauer at pengutronix.de>
>>> Acked-by: John Ogness<john.ogness at linutronix.de>
>>> Tested-by: John Ogness<john.ogness at linutronix.de>
>>
>> I've created l2-mtd-2.6.git/for-2.6.36 branch, pushed your patch there,
>> pinged dwmw2 for you. I do not give you any guarantees this will reach
>> 2.6.36, you have to ping dwmw2.
>
> Any chance to get this in? The mxc-nand driver is nonfunctional at the
> moment and 2.6.36 is getting closer.
>
Acked-by: Eric Bénard <eric at eukrea.com>
Tested-by: Eric B2nard <eric at eukrea.com>

Eric



More information about the linux-mtd mailing list