Skip to content

Commit

Permalink
firewire: ohci: flush MMIO writes in the interrupt handler
Browse files Browse the repository at this point in the history
Make sure that interrupt event clear bit writes are executed before the
interrupt handler returns.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
  • Loading branch information
Clemens Ladisch authored and Stefan Richter committed Dec 13, 2010
1 parent c088ab3 commit e597e98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/firewire/ohci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1856,7 +1856,8 @@ static irqreturn_t irq_handler(int irq, void *data)
spin_lock(&ohci->lock);
update_bus_time(ohci);
spin_unlock(&ohci->lock);
}
} else
flush_writes(ohci);

return IRQ_HANDLED;
}
Expand Down

0 comments on commit e597e98

Please sign in to comment.