aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorMichael Hennerich <[email protected]>2010-08-05 17:53:57 -0400
committerGreg Kroah-Hartman <[email protected]>2010-08-23 20:50:15 -0700
commitebb8a4e48722c8f5e04a6490b197d2fbc894a0f6 (patch)
tree6fd92615398fae2af9ada5206f52dafde7d4e16a /drivers/mtd/lpddr/lpddr_cmds.c
parent76078dc4fc389185fe467d33428f259ea9e69807 (diff)
USB: isp1760: use a write barrier to ensure proper ndelay timing
The ISP1760 has some timing requirements where it has to delay a short period after a write to a register has started. However, this delay is from the time the write hits the USB chip (the ISP1760), not from the time where the processor started processing the write. So on a quick enough processor, it is sometimes possible for the write to not hit the device before we start delaying, and we then violate the part's timing requirements, so things stop working. To avoid all this, insert a write barrier after the register write and before the timing delay/register read so we can guarantee we only start counting time after the write has hit the device. Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Mike Frysinger <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions