Skip to content
Commit 41c6a22f authored by Sean Anderson's avatar Sean Anderson Committed by Jaehoon Chung
Browse files

mmc: fsl_esdhc_imx: simplify esdhc_setup_data()



[ fsl_esdhc commit 7e48a028 ]

First, we need the waterlevel setting for PIO mode only. Secondy, both DMA
setup code is identical for both directions, except for the data pointer.
Thus, unify them.

Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Signed-off-by: default avatarSean Anderson <sean.anderson@seco.com>
Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
parent 01672677
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment