dwc2: Add dcache support
authorAlexander Stein <alexanders83@web.de>
Fri, 24 Jul 2015 07:22:14 +0000 (09:22 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:25:46 +0000 (08:25 +0200)
commit1064cd928abf0b77e9fa2edae9f260924b434537
tree3681f8215b5b2c6936b7368d5292ce76ca9e1350
parent249adba797e34bb93fc17d80ba63ab07cf9af086
dwc2: Add dcache support

This adds dcache support for dwc2. The DMA buffers must be DMA aligned and
is flushed for outgoing transactions before starting transfer. For
ingoing transactions it is invalidated after the transfer has finished.

Signed-off-by: Alexander Stein <alexanders83@web.de>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
[trini: Update to apply again on top of DM patches]
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/usb/host/dwc2.c