diff options
author | Sean Anderson <sean.anderson@seco.com> | 2021-11-23 15:03:44 -0500 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2022-01-12 09:56:40 +0900 |
commit | 41c6a22fc2963bfc76fc2aa21f572ceb0c5a4e22 (patch) | |
tree | 81466fff343310b0f94c4a01819c7bab3b2482e0 /lib/linux_string.c | |
parent | 01672677690149ea91c6cd88f055961b6f9fc046 (diff) |
mmc: fsl_esdhc_imx: simplify esdhc_setup_data()
[ fsl_esdhc commit 7e48a028a42c111ba38a90b86e5f57dace980fa0 ]
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: Michael Walle <michael@walle.cc>
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'lib/linux_string.c')
0 files changed, 0 insertions, 0 deletions