diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-07-17 23:27:42 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-20 00:14:13 +0300 |
commit | 7330fc505af4af262ef874a4fc4492393106fdce (patch) | |
tree | a82c6e9291af84d27268f91b48237e800c968d8f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d535934a9ad4dc435884958ac44a7d6ecb6278ce (diff) | |
download | linux-7330fc505af4af262ef874a4fc4492393106fdce.tar.xz |
mtd: rawnand: qcom: stop using phys_to_dma()
Compile-testing this driver on x86 caused a link error:
ERROR: "__phys_to_dma" [drivers/mtd/nand/raw/qcom_nandc.ko] undefined!
The problem here is that the driver attempts to convert the physical
address into the DMA controller as a dma_addr_t and calls phys_to_dma()
to do the conversion.
The correct way to do the conversion is using the dma mapping interfaces.
Fixes: c76b78d8ec05 ("mtd: nand: Qualcomm NAND controller driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions