Masahiro Yamada
58d8ace12b
mmc: sdhci: use dma_map_single() instead of flush_cache() before DMA
...
Currently, sdhci_prepare_dma() calls flush_cache() regardless of the
DMA direction.
Actually, cache invalidation is enough when reading data from the device.
This is correctly handled by dma_map_single(), which mimics the DMA-API
in Linux kernel. Drivers can be agnostic which cache operation occurs
behind the scene.
This commit also sanitizes the difference between the virtual address
and the dma address.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com >
2020-02-20 15:09:57 +08:00
..
2020-02-05 19:33:46 -07:00
2020-01-08 09:27:44 -05:00
2020-02-05 19:33:46 -07:00
2019-08-09 22:24:02 +08:00
2020-02-05 19:33:46 -07:00
2020-01-07 11:13:24 -05:00
2020-01-10 10:25:13 -05:00
2020-01-24 23:06:49 +05:30
2020-02-14 07:31:47 -05:00
2020-02-11 10:58:41 -05:00
2019-12-02 18:23:09 -05:00
2020-01-25 12:04:36 -05:00
2020-02-11 10:58:41 -05:00
2018-05-07 09:34:12 -04:00
2020-02-05 19:33:46 -07:00
2020-02-19 21:27:30 +08:00
2020-01-25 12:04:36 -05:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2020-02-11 10:58:41 -05:00
2020-02-05 19:33:46 -07:00
2020-02-11 10:58:41 -05:00
2019-11-19 17:43:04 -05:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2018-05-07 09:34:12 -04:00
2020-02-11 10:58:41 -05:00
2020-02-20 15:09:57 +08:00
2020-02-19 21:27:30 +08:00
2020-02-19 21:27:30 +08:00
2020-02-05 19:33:46 -07:00
2019-12-15 11:44:16 +08:00
2020-02-05 19:33:46 -07:00
2019-08-07 15:31:04 -04:00
2020-02-05 19:33:46 -07:00
2020-02-13 18:47:00 +01:00
2020-02-11 10:58:41 -05:00
2019-12-06 00:06:23 +08:00
2019-12-02 18:23:08 -05:00
2020-02-13 10:10:50 -05:00
2020-02-05 19:33:46 -07:00
2020-02-11 10:58:41 -05:00
2020-01-25 12:04:36 -05:00
2020-02-05 19:33:46 -07:00
2019-10-23 20:47:12 -04:00
2020-02-11 10:58:41 -05:00
2020-02-05 19:33:46 -07:00
2020-02-19 21:27:30 +08:00
2020-02-05 19:33:46 -07:00
2020-02-05 21:48:22 -07:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2020-01-20 10:10:28 +05:30
2020-02-05 19:33:46 -07:00
2020-02-11 10:58:41 -05:00
2020-02-19 21:27:30 +08:00
2020-02-19 21:27:30 +08:00
2020-02-11 10:58:41 -05:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2020-02-11 10:58:41 -05:00
2020-01-07 18:08:21 +01:00
2020-01-15 19:50:27 -05:00