From: Bartlomiej Zolnierkiewicz Date: Tue, 23 Jun 2009 10:43:00 +0000 (-0700) Subject: ide: fix handling of unexpected IRQs vs request_irq() X-Git-Tag: v2.6.31-rc2~90^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffc36c7610731115c77700dcc53901920361c235;p=pandora-kernel.git ide: fix handling of unexpected IRQs vs request_irq() Add ide_host_enable_irqs() helper and use it in ide_host_register() before registering ports. Then remove no longer needed IRQ unmasking from in init_irq(). This should fix the problem with "screaming" shared IRQ on the first port (after request_irq() call while we have the unexpected IRQ pending on the second port) which was uncovered by my rework of the serialized interfaces support. Reported-by: Frans Pop Tested-by: Frans Pop Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: David S. Miller --- Reading git-diff-tree failed