commit | 068cc654dffe924293b1fa55405bccf488d008cc | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Tue Dec 31 11:29:25 2019 +0800 |
committer | Tom Rini <trini@konsulko.com> | Thu Jan 16 09:39:45 2020 -0500 |
tree | 11c1d25420b670de25701ec41bdecf0b49bb944a | |
parent | a2d3a6c13875f6a3fd99f42e4bc8811757ca83d0 [diff] |
mmc: mtk-sd: fix hang when data read quickly 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.