mmc: meson-gx: simplify setting timeout configuration parameters
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 22 Mar 2017 21:34:01 +0000 (22:34 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:47 +0000 (21:41 +0200)
commita744c6fe13beef87cd541f1dcaffe97f2af0c908
tree5e7aa4ca4bfa85c44fd63183975b072afeb0fbc3
parent2c8d96a46dfd45b724465e53a5a9542bcb78cfce
mmc: meson-gx: simplify setting timeout configuration parameters

We don't need variable cmd_cfg_timeout, so remove it and simplify the
code a little.

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