staging: dwc2: remove use of bus_to_virt()
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>
Sat, 13 Jul 2013 21:53:53 +0000 (14:53 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 21:54:49 +0000 (14:54 -0700)
commit25a494457c2bfc9e1d92be9067e235524fad96ee
tree7f5ed1b1b2f1d2b01c2b955db0b72ada679525b9
parent0cf31f8629bf50efe0651ef878a8ddd29a722cac
staging: dwc2: remove use of bus_to_virt()

Remove the use of bus_to_virt() and just fail the transfer if an
unaligned buffer with no virtual address is found. AFAIK that
can't happen anyway.

Also change setting of coherent DMA mask to the normal 32 bits.
31 bits was only needed when calling bus_to_virt() AFAICR.

Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dwc2/Kconfig
drivers/staging/dwc2/hcd.c