From: Stefan Richter Date: Thu, 12 Jul 2007 20:24:19 +0000 (+0200) Subject: firewire: fw-ohci: flush MMIO write before msleep X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=362e901c65123e0e72a764fcbe6c3d6a2505c7a6;p=linux-beck.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 41476abc0693..996c911c81a0 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) {