mmc: sdhci-xenon: Fix timeout checks

[ Upstream commit 0e6e7c2ff3 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Adrian Hunter 2018-12-10 10:56:26 +02:00 • committed by Greg Kroah-Hartman
commit 3a96c89871
2 changed files with 14 additions and 6 deletions