8270f3a11c
We need to return a dma_addr_t even if we don't have a kernel mapping.
Do so by consolidating the phys_to_dma call in a single place and jump
to it from all the branches that return successfully.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
coherent.c | ||
contiguous.c | ||
debug.c | ||
direct.c | ||
dummy.c | ||
mapping.c | ||
remap.c | ||
swiotlb.c | ||
virt.c |