diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2010-09-20 10:32:07 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-24 11:05:01 -0700 |
commit | 4c647338267e14c93892f6f125f17ea2419eea51 (patch) | |
tree | b2a03caa8bcb245933bcce943adbafe66d73e059 /firmware | |
parent | 66af83ddf7b5a4ea94e79cbeadaa0aeed4def5f7 (diff) | |
download | talos-obmc-linux-4c647338267e14c93892f6f125f17ea2419eea51.tar.gz talos-obmc-linux-4c647338267e14c93892f6f125f17ea2419eea51.zip |
usb: musb: host: Issue a memory barrier before starting DMA
This patch fixes the issue which was observed while transfering
a large file ( > 20MB) over USB (OMAP MUSB controller acts as USB host)
to an attached USB thumb drive.
It was found that CDB field of CBW packet was set to 0x0. This was
due to missing a barrier before DMA engine starts transfer.
This buffer is allocated using dma_alloc_coherent which gives
non-cacheble but bufferable memory and hence needed a write
memory barrier to flush the write buffer.
More info on this thread is here:
http://www.spinics.net/lists/linux-omap/msg33987.html
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Maulik Mankad <x0082077@ti.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions