Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 282c6b9c authored by Alessandro Zummo's avatar Alessandro Zummo Committed by Jeff Garzik
Browse files

pata_ixp4xx_cf: fix interrupt



 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: default avatarAlessandro Zummo <a.zummo@towertech.it>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 2ab302b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;