summaryrefslogtreecommitdiff
path: root/drivers/ide/ide-cd.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-06-23 03:43:00 -0700
committerDavid S. Miller <davem@davemloft.net>2009-06-24 00:32:30 -0700
commitffc36c7610731115c77700dcc53901920361c235 (patch)
treec300ea91a72c166c6e9d10a6526b29514d3956ce /drivers/ide/ide-cd.c
parente01698aed04811b9a9c4f8d54b73cb182757063d (diff)
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 <elendil@planet.nl> Tested-by: Frans Pop <elendil@planet.nl> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide/ide-cd.c')
0 files changed, 0 insertions, 0 deletions