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: NYuzheng Ma <mayuzheng@kedacom.com> Tested-by: NYuzheng Ma <mayuzheng@kedacom.com> Reviewed-by: NHein Tibosch <hein_tibosch@yahoo.es> Signed-off-by: NJianpeng Ma <majianpeng@gmail.com> Signed-off-by: NBalaji T K <balajitk@ti.com> Signed-off-by: NChris Ball <cjb@laptop.org>
Showing
想要评论请 注册 或 登录