diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-06-23 03:43:00 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-08-16 14:18:47 -0700 |
commit | 957157bfe829d5900ae43b46674bae4d97207712 (patch) | |
tree | 6d8a7142ecdcdf9b48c64f03ce5bae057cb8dc52 /drivers/ide/ide-iops.c | |
parent | e5cac86942fcfdca931c219723028207954c2cce (diff) |
ide: fix handling of unexpected IRQs vs request_irq()
commit ffc36c7610731115c77700dcc53901920361c235 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/ide/ide-iops.c')
0 files changed, 0 insertions, 0 deletions