aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorAnand Gadiyar <[email protected]>2010-11-08 00:20:30 -0600
committerFelipe Balbi <[email protected]>2010-11-09 10:24:35 +0200
commit6e16edfe62eb49274c8a74dc04d1c6f315f8f82b (patch)
tree0292ee9bf87e43207041c195a245f3997bae7566 /tools/perf/util/trace-event-scripting.c
parent07397021058b7db468b67f8c41ce29ef6331ab92 (diff)
usb: musb: fail unaligned DMA transfers on v1.8 and above
The Inventra DMA engine in version 1.8 and later of the MUSB controller cannot handle DMA addresses that are not aligned to a 4 byte boundary. It ends up ignoring the last two bits programmed in the DMA_ADDR register. This is a deliberate design change in the controller and is documented in the programming guide. Earlier versions of the controller could handle these accesses just fine. Fail dma_channel_program if we see an unaligned address when using the newer controllers, so that the caller can carry out the transfer using PIO mode. (Current callers already have this backup path in place). Signed-off-by: Anand Gadiyar <[email protected]> Tested-by: Ming Lei <[email protected]> Cc: Ajay Kumar Gupta <[email protected]> Cc: Mike Frysinger <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions