mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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: Alessandro Zummo <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
This commit is contained in:
parent
2ab302b357
commit
282c6b9c7a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue