mmc: meson-gx: include tx phase in the tuning process
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 2 Oct 2017 12:27:43 +0000 (14:27 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 4 Oct 2017 08:42:11 +0000 (10:42 +0200)
commit0a44697627d17a66d7dc98f17aeca07ca79c5c20
treec7d8cdc10e2914b8260f80f1147518af30a626af
parent3e2b0af411d4bf85bc0fbc385756fd5968adb9fd
mmc: meson-gx: include tx phase in the tuning process

It has been reported that some platforms (odroid-c2) may require
a different tx phase setting to operate at high speed (hs200 and hs400)

To improve the situation, this patch includes tx phase in the tuning
process.

Fixes: d341ca88eead ("mmc: meson-gx: rework tuning function")
Reported-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/meson-gx-mmc.c