Skip to content
Commit 22b6295e authored by Jonathan Bell's avatar Jonathan Bell Committed by Phil Elwell
Browse files

drivers: mmc: core: handle card-removal when running CQE recovery



Recovery claims the MMC card so the card-detect work gets significantly
delayed - leading to lots of error recovery loops that can never do
anything but fail.

Explicitly detect the card after CQE has halted and bail if it's not
there.

Also ratelimit a not-very-descriptive warning - one occurrence in dmesg
is enough to signal that something is amiss.

Signed-off-by: default avatarJonathan Bell <jonathan@raspberrypi.com>
parent 5c0f9408
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