]> git.sur5r.net Git - u-boot/commit
usb: dwc2: Align size of invalidating dcache before starting DMA
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 31 Jul 2017 09:08:10 +0000 (18:08 +0900)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 27 Sep 2017 10:12:23 +0000 (12:12 +0200)
commita939af0c748e2ea1eeb8cf47fa9771a95786de70
tree84c35261edc472d88660f6599d472b1fb347924e
parent2e5026a2f022f1c5ab5e879684a895ccdca7690c
usb: dwc2: Align size of invalidating dcache before starting DMA

During using dwc2 usb gadget, if usb message size is too small,
following cache misaligned warning is shown:

   CACHE: Misaligned operation at range [bfdbcb00bfdbcb04]

Align size of invalidating dcache before starting DMA to remove the
warning.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c