summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2015-05-15 20:20:09 +0200
committerpopcornmix <popcornmix@gmail.com>2015-05-18 14:13:31 +0100
commitd54112e7c36831a5c1033135f10b4c228e6165fa (patch)
tree78290ca3a6212d535fe4028a41cc1e40483a5f1e /ipc
parent8beaa1d2022374c0ece1195aa155a1af52ca31e6 (diff)
downloadlinux-d54112e7c36831a5c1033135f10b4c228e6165fa.tar.gz
usb: dwc_otg: Don't use dma_to_virt()
Commit 6ce0d20 changes dma_to_virt() which breaks this driver. Open code the old dma_to_virt() implementation to work around this. Limit the use of __bus_to_virt() to cases where transfer_buffer_length is set and transfer_buffer is not set. This is done to increase the chance that this driver will also work on ARCH_BCM2835. transfer_buffer should not be NULL if the length is set, but the comment in the code indicates that there are situations where this might happen. drivers/usb/isp1760/isp1760-hcd.c also has a similar comment pointing to a possible: 'usb storage / SCSI bug'. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions