From: Sascha Hauer Date: Mon, 18 Oct 2010 08:16:26 +0000 (+0200) Subject: mxc_nand: do not depend on disabling the irq in the interrupt handler X-Git-Tag: v2.6.36~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63f1474c69c061f923068a25f136dca0c49cd478;p=pandora-kernel.git mxc_nand: do not depend on disabling the irq in the interrupt handler 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 Acked-by: John Ogness Tested-by: John Ogness Signed-off-by: David Woodhouse Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed