Skip to content
Snippets Groups Projects
Commit fb80eaa9 authored by mingming lee's avatar mingming lee Committed by Tom Rini
Browse files

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.

Signed-off-by: default avatarmingming lee <mingming.lee@mediatek.com>
parent 3b0397d4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment