Commit 362e901c authored by Stefan Richter's avatar Stefan Richter

firewire: fw-ohci: flush MMIO write before msleep

Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 5bae7ac9
...@@ -224,6 +224,7 @@ ohci_update_phy_reg(struct fw_card *card, int addr, ...@@ -224,6 +224,7 @@ ohci_update_phy_reg(struct fw_card *card, int addr,
u32 val, old; u32 val, old;
reg_write(ohci, OHCI1394_PhyControl, OHCI1394_PhyControl_Read(addr)); reg_write(ohci, OHCI1394_PhyControl, OHCI1394_PhyControl_Read(addr));
flush_writes(ohci);
msleep(2); msleep(2);
val = reg_read(ohci, OHCI1394_PhyControl); val = reg_read(ohci, OHCI1394_PhyControl);
if ((val & OHCI1394_PhyControl_ReadDone) == 0) { if ((val & OHCI1394_PhyControl_ReadDone) == 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment