
On Wed, Feb 5, 2020 at 9:17 AM Simon Glass sjg@chromium.org wrote:
On Tue, 4 Feb 2020 at 04:09, Masahiro Yamada yamada.masahiro@socionext.com wrote:
dma_unmap_single() takes the dma address, not virtual address.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com
arch/arm/include/asm/dma-mapping.h | 4 +--- arch/nds32/include/asm/dma-mapping.h | 4 +--- arch/riscv/include/asm/dma-mapping.h | 4 +--- arch/x86/include/asm/dma-mapping.h | 4 +--- drivers/mmc/tmio-common.c | 2 +- drivers/mtd/nand/raw/denali.c | 2 +- drivers/net/macb.c | 2 +- drivers/usb/dwc3/core.c | 6 +++--- drivers/usb/gadget/udc/udc-core.c | 2 +- 9 files changed, 11 insertions(+), 19 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org
But please also add a comment to the header files.
Same here.
See my reply to 1/9.
-- Best Regards
Masahiro Yamada