]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb97af1df5f119cd2328b7434436b62a8731d2610
tree658143fc6807ee7aadbb00ed717e46dc1aa98477
parent34667b6b359d189d0f1614e91e562859b4139585
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