Vignesh Raghavendra c0a5a81f74 asm: dma-mapping.h: Fix dma mapping functions
Subsystems such as USB expect dma_map_single() and dma_unmap_single() to
do dcache flush/invalidate operations as required. For example, see
see drivers/usb/gadget/udc/udc-core.c::usb_gadget_map_request().
Currently drivers do this locally, (see drivers/usb/dwc3/ep0.c,
drivers/mtd/nand/raw/denali.c etc..)
Update arch specific dma_map_single() and dma_unmap_single() APIs to do
cache flush/invalidate  operations, so that drivers need not implement
them locally.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Rick Chen <rick@andestech.com>
2020-01-25 12:04:36 -05:00
..
2019-12-15 11:44:16 +08:00
2011-04-13 19:43:28 +10:00
2015-04-29 21:02:33 -06:00
2017-02-06 11:38:46 +08:00
2019-11-03 07:20:27 +08:00
2018-04-16 16:54:51 +08:00
2019-10-08 13:53:54 +08:00
2011-04-13 19:43:28 +10:00
2019-12-15 11:44:14 +08:00
2019-12-15 11:44:29 +08:00
2011-04-13 19:43:28 +10:00
2011-04-13 19:43:28 +10:00