Skip to content
Commit 3037794d authored by Jonathan Bell's avatar Jonathan Bell Committed by Dom Cobley
Browse files

drivers: mmc: cqhci: clear CQHCI_CTL if halt fails



The eMMC spec says that in certain circumstances the controller can't
respond to a halt request - in practice, this occurs if a CMD
timeout happens (card went away/crashed).

Clear the halt request by writing 0 to CQHCI_CTL. Also fix a logic error
testing for halt in cqhci_request.

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