[PATCH v2 7/8] mmc: mtk-sd: fix hang when data read quickly
Tom Rini
trini at konsulko.com
Thu Jan 16 15:41:53 CET 2020
On Tue, Dec 31, 2019 at 11:29:25AM +0800, mingming lee wrote:
> For CMD21 tuning data, the 128/64 bytes data may coming in very
> short time, before msdc_start_data(), the read data has already
> come, in this case, clear MSDC_INT will cause the interrupt disappear
> and lead to the thread hang.
>
> the solution is just clear all interrupts before command was sent.
>
> Signed-off-by: mingming lee <mingming.lee at mediatek.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200116/3ecb80f7/attachment.sig>
More information about the U-Boot
mailing list