mmc: meson-gx: add device reset
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 15 May 2018 09:57:48 +0000 (11:57 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 21 May 2018 08:50:45 +0000 (10:50 +0200)
commit19c6beaa064c4b198e7d774feab7a0851cf606a0
tree7edc008a25fbe2be5625f5d63e2c1acd0503ca5d
parentc5f9ae6cf2a6556399e8e3e1e28fc2af7065c672
mmc: meson-gx: add device reset

Trigger the reset line of the mmc controller while probing, if available.
The reset should be optional for now, at least until all related DT nodes
have the reset property.

Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/meson-gx-mmc.c