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

drivers: mmc: sdhci: add SPURIOUS_INT_RESP quirk



Certain controllers (dwc-mshc) generate timeout conditions separately to
command-completion conditions, where the end result is interrupts are
separated in time depending on the current SDCLK frequency.

This causes spurious interrupts if SDCLK is slow compared to the CPU's
ability to process and return from interrupt. This occurs during card
probe with an empty slot where all commands that would generate a
response time out.

Add a quirk to squelch command response interrupts when a command
timeout interrupt is received.

Signed-off-by: default avatarJonathan Bell <jonathan@raspberrypi.com>
parent 90fbbafe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment