Skip to content

Commit

Permalink
pata_ixp4xx_cf: fix interrupt
Browse files Browse the repository at this point in the history
 As per compact flash specifications, the default
 irq mode upon cf insertion is pulse mode. this patch fixes
 the driver to cope with that.

Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Alessandro Zummo authored and Jeff Garzik committed Mar 19, 2007
1 parent 2ab302b commit 282c6b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/pata_ixp4xx_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ static __devinit int ixp4xx_pata_probe(struct platform_device *pdev)

irq = platform_get_irq(pdev, 0);
if (irq)
set_irq_type(irq, IRQT_HIGH);
set_irq_type(irq, IRQT_RISING);

/* Setup expansion bus chip selects */
*data->cs0_cfg = data->cs0_bits;
Expand Down

0 comments on commit 282c6b9

Please sign in to comment.