]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: sdhci-omap: Fix timeout checks
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 10 Dec 2018 08:56:25 +0000 (10:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Feb 2019 19:02:20 +0000 (20:02 +0100)
commitfd655c826a6040026e0c48eda33a8837bb578763
treec4306f3842d37649cf5517166493d41dba836b1d
parentc9934513f36530a2d8db7310b4137544c6d65c52
mmc: sdhci-omap: Fix timeout checks

[ Upstream commit 9f0ea0bda1d06120b053bb0c283f54afec59293d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mmc/host/sdhci-omap.c