Skip to content
Commit 27ad5d35 authored by Jonathan Bell's avatar Jonathan Bell Committed by Dom Cobley
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 b59de1a8
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