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

Always check the wait condition before returning timeout.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-omap.c