mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
firewire: Read the *Clear versions of the iso interrupt register.
The *Clear registers returns the masked value when read which is what we want. Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
parent
cbb59da719
commit
c889475fb5
1 changed files with 2 additions and 2 deletions
|
@ -847,7 +847,7 @@ static irqreturn_t irq_handler(int irq, void *data)
|
|||
if (event & OHCI1394_respTxComplete)
|
||||
tasklet_schedule(&ohci->at_response_ctx.tasklet);
|
||||
|
||||
iso_event = reg_read(ohci, OHCI1394_IsoRecvIntEventSet);
|
||||
iso_event = reg_read(ohci, OHCI1394_IsoRecvIntEventClear);
|
||||
reg_write(ohci, OHCI1394_IsoRecvIntEventClear, iso_event);
|
||||
|
||||
while (iso_event) {
|
||||
|
@ -856,7 +856,7 @@ static irqreturn_t irq_handler(int irq, void *data)
|
|||
iso_event &= ~(1 << i);
|
||||
}
|
||||
|
||||
iso_event = reg_read(ohci, OHCI1394_IsoXmitIntEventSet);
|
||||
iso_event = reg_read(ohci, OHCI1394_IsoXmitIntEventClear);
|
||||
reg_write(ohci, OHCI1394_IsoXmitIntEventClear, iso_event);
|
||||
|
||||
while (iso_event) {
|
||||
|
|
Loading…
Reference in a new issue