summaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-12 22:24:19 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-18 23:53:27 +0200
commit362e901c65123e0e72a764fcbe6c3d6a2505c7a6 (patch)
tree8d9fd6ea38bd90b20c70a2276c86c1eaf7116ca0 /drivers/firewire
parent5bae7ac9feba925fd0099057f6b23d7be80b7b41 (diff)
downloadkernel-crypto-362e901c65123e0e72a764fcbe6c3d6a2505c7a6.tar.gz
kernel-crypto-362e901c65123e0e72a764fcbe6c3d6a2505c7a6.tar.xz
kernel-crypto-362e901c65123e0e72a764fcbe6c3d6a2505c7a6.zip
firewire: fw-ohci: flush MMIO write before msleep
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire')
-rw-r--r--drivers/firewire/fw-ohci.c1
1 files changed, 1 insertions, 0 deletions
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) {