Skip to content

Commit

Permalink
dwc_otg: put some barriers back where they should be for UP
Browse files Browse the repository at this point in the history
  • Loading branch information
P33M authored and popcornmix committed Feb 2, 2015
1 parent 6b14908 commit a9efdd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.c
Expand Up @@ -1280,6 +1280,7 @@ void notrace dwc_otg_fiq_fsm(struct fiq_state *state, int num_channels)

}
state->fiq_done++;
mb();
fiq_fsm_spin_unlock(&state->lock);
}

Expand Down Expand Up @@ -1340,5 +1341,6 @@ void notrace dwc_otg_fiq_nop(struct fiq_state *state)

}
state->fiq_done++;
mb();
fiq_fsm_spin_unlock(&state->lock);
}
1 change: 1 addition & 0 deletions drivers/usb/host/dwc_otg/dwc_otg_hcd.c
Expand Up @@ -1928,6 +1928,7 @@ int fiq_fsm_queue_split_transaction(dwc_otg_hcd_t *hcd, dwc_otg_qh_t *qh)
st->hcchar_copy.b.chen = 1;
DWC_WRITE_REG32(&hc_regs->hcchar, st->hcchar_copy.d32);
}
mb();
fiq_fsm_spin_unlock(&hcd->fiq_state->lock);
local_fiq_enable();
return 0;
Expand Down

0 comments on commit a9efdd7

Please sign in to comment.