Re: [PATCH RFC] drivers: parport: Ask user for irqreturn_t value

2014-09-28 Thread Matwey V. Kornilov
Forget it, I invented something strange. 2014-09-28 12:02 GMT+04:00 Matwey V. Kornilov : > Current parport_irq_handler behaviour is not correct when IRQ is shared. > LDDv3 on page 279 requires us: > > "Be sure to return IRQ_NONE whenever your handler is called and finds > the device is not interru

[PATCH RFC] drivers: parport: Ask user for irqreturn_t value

2014-09-28 Thread Matwey V. Kornilov
Current parport_irq_handler behaviour is not correct when IRQ is shared. LDDv3 on page 279 requires us: "Be sure to return IRQ_NONE whenever your handler is called and finds the device is not interrupting." This is not the case of parport_irq_handler. Current implementation of IRQ handling use th