mmc: sdhci: use phys2bus macro when dma address is accessed
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 27 Mar 2020 04:08:00 +0000 (13:08 +0900)
committerMatthias Brugger <mbrugger@suse.com>
Tue, 12 May 2020 09:00:45 +0000 (11:00 +0200)
commitfac8bfd4f52612fceb2d9784c93ed8f147f209c3
tree37c35b93f30859b8279b3e4d92b12cbc72199123
parent0ed0db985abaa95a326ebfd268785e0b310d9d5d
mmc: sdhci: use phys2bus macro when dma address is accessed

Use phys2bus macro when dma address is accessed.
Some targets need to use pyhs2bus macro. (e.g, RPI4)
After applied it, SDMA mode can be used.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
drivers/mmc/sdhci.c