commit | bdd413fd051c5ee4f57d394db48ee8667139ec89 | [log] [tgz] |
---|---|---|
author | Michael Walle <michael@walle.cc> | Wed Sep 23 12:42:49 2020 +0200 |
committer | Peng Fan <peng.fan@nxp.com> | Mon Oct 12 15:49:18 2020 +0800 |
tree | 87aa57220971aa8bb233e29ab997662e3325ccdc | |
parent | c9bba2edf7dda1f9733475b96035088e32809040 [diff] |
mmc: fsl_esdhc: simplify esdhc_setup_data() 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>