Files
linux/drivers/usb/host
Dave Stevenson 79fdb9e72b usb: dwc_otg: Use dma allocation for mphi dummy_send buffer
The FIQ driver used a kzalloc'ed buffer for dummy_send,
passing a kernel virtual address to the hardware block.
The buffer is only ever used for a dummy read, so it
should be harmless, but there is the chance that it will
cause exceptions.

Use a dma allocation so that we have a genuine bus address,
and read from that.
Free the allocation when done for good measure.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
2019-04-02 12:56:13 +01:00
..
2019-04-02 12:55:01 +01:00
2018-06-12 16:19:22 -07:00
2019-04-02 12:55:01 +01:00
2019-04-02 12:55:01 +01:00
2017-12-12 13:16:07 +01:00
2018-07-16 09:09:24 +02:00