]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
firewire: fw-ohci: flush MMIO write before msleep
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 12 Jul 2007 20:24:19 +0000 (22:24 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 18 Jul 2007 21:53:27 +0000 (23:53 +0200)
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-ohci.c

index 41476abc069310ce0989f546de49130d566ea736..996c911c81a03b9397cb9b3cef664614045ec4da 100644 (file)
@@ -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) {