mmc: meson-gx: rework set_ios function
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 28 Aug 2017 14:29:05 +0000 (16:29 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 13:03:47 +0000 (15:03 +0200)
commitc36cf1257b391c8b83055df79c8a30c39c69a7b6
tree353ee5f28542b60a3984e45a771aec0a7ed52038
parent3c39e2ca88016fb88d767750cd254d328f84248f
mmc: meson-gx: rework set_ios function

Remove conditional write of cfg register. Warn if set_clk fails for some
reason. Consistently use host->dev instead of mixing with mmc_dev(mmc)

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