Skip to content
Commit 1e881786 authored by Jianpeng Ma's avatar Jianpeng Ma Committed by Chris Ball
Browse files

mmc: omap_hsmmc: fix timeout for cmd and data soft reset



With HSMMC_HAS_UPDATED_RESET reset of cmd/data (SRC/SRD) can be to
quick and can be missed resulting in wait for software timeout.
With cpu_relax timeout can be long and unpredictable. Use udelay
instead for timeout implementation.

Reported-by: default avatarYuzheng Ma <mayuzheng@kedacom.com>
Tested-by: default avatarYuzheng Ma <mayuzheng@kedacom.com>
Reviewed-by: default avatarHein Tibosch <hein_tibosch@yahoo.es>
Signed-off-by: default avatarJianpeng Ma <majianpeng@gmail.com>
Signed-off-by: default avatarBalaji T K <balajitk@ti.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 0a82e06e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment