On Tue, 4 Feb 2020 at 04:09, Masahiro Yamada <yamada.masah...@socionext.com> wrote: > > dma_unmap_single() takes the dma address, not virtual address. > > Signed-off-by: Masahiro Yamada <yamada.masah...@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 <s...@chromium.org> But please also add a comment to the header files.