mmc: meson-gx: switch to dynamic timeout values
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 25 Mar 2017 10:26:18 +0000 (11:26 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:50 +0000 (21:41 +0200)
commit4eee86c3d825109ed91555a553fbdb927592f009
tree658143fc6807ee7aadbb00ed717e46dc1aa98477
parentf016c67629c818ca6a39f4d6e35d85d9e930eacc
mmc: meson-gx: switch to dynamic timeout values

Currently we use a fixed timeout of 4s for all data transfers. Switch
to dynamic timeout values by making use of data->timeout_ns.

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