Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f4aa07e1 authored by Ziqi Chen's avatar Ziqi Chen
Browse files

mmc: core: Fix device hangs issue when inserting bad SD cards



When inserting BAD sdcard in device and trying to read, device status
is continuously in programming state, leading to device hang and black
screen.

There is a 10 minute of waiting for device to come out of programming
state. But 10 minute is too long time to wait and it would increase the
CPU load significantly as we are continuously polling for the card
status.

To fix this issue reduces this timeout from 10 mins to 30 secs which is
quite reasonable for all good cards.

Change-Id: If1d3664a28cc246d8c80a7f0dc115ee7a0f7fd04
Signed-off-by: default avatarZiqi Chen <ziqichen@codeaurora.org>
parent f43dabe3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment