mmc: sdhci-xenon: Fix timeout checks
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 10 Dec 2018 08:56:26 +0000 (10:56 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Dec 2018 07:26:24 +0000 (08:26 +0100)
commit0e6e7c2ff397e1bbebc882ca3132148aaaef1ddd
tree63666dc6b772877057e7f6be8013c7a77fb2331f
parent9f0ea0bda1d06120b053bb0c283f54afec59293d
mmc: sdhci-xenon: Fix timeout checks

Always check the wait condition before returning timeout.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Zhoujie Wu <zjwu@marvell.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-xenon-phy.c
drivers/mmc/host/sdhci-xenon.c