From: Stefan Richter Date: Thu, 12 Jul 2007 20:24:19 +0000 (+0200) Subject: firewire: fw-ohci: flush MMIO write before msleep X-Git-Tag: v2.6.23-rc1~488 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=362e901c65123e0e72a764fcbe6c3d6a2505c7a6;p=linux-2.6-omap-h63xx.git firewire: fw-ohci: flush MMIO write before msleep Signed-off-by: Stefan Richter --- diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c index 41476abc069..996c911c81a 100644 --- a/drivers/firewire/fw-ohci.c +++ b/drivers/firewire/fw-ohci.c @@ -224,6 +224,7 @@ ohci_update_phy_reg(struct fw_card *card, int addr, u32 val, old; reg_write(ohci, OHCI1394_PhyControl, OHCI1394_PhyControl_Read(addr)); + flush_writes(ohci); msleep(2); val = reg_read(ohci, OHCI1394_PhyControl); if ((val & OHCI1394_PhyControl_ReadDone) == 0) {