Commit b98f5046 authored by Phil Sutter's avatar Phil Sutter Committed by Jeff Garzik

pata-rb532-cf: remove set_irq_type from finish_io

The driver has been tested without the call to set_irq_type at this
point and occurs to work fine, so it should be safe to remove it.
Signed-off-by: default avatarPhil Sutter <n0-1@freewrt.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent e4d866cd
...@@ -63,8 +63,6 @@ static inline void rb532_pata_finish_io(struct ata_port *ap) ...@@ -63,8 +63,6 @@ static inline void rb532_pata_finish_io(struct ata_port *ap)
ata_sff_sync might be sufficient. */ ata_sff_sync might be sufficient. */
ata_sff_dma_pause(ap); ata_sff_dma_pause(ap);
ndelay(RB500_CF_IO_DELAY); ndelay(RB500_CF_IO_DELAY);
set_irq_type(info->irq, IRQ_TYPE_LEVEL_HIGH);
} }
static void rb532_pata_exec_command(struct ata_port *ap, static void rb532_pata_exec_command(struct ata_port *ap,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment