Skip to content
Commit 1efd48b3 authored by Pierre Ossman's avatar Pierre Ossman
Browse files

mmc: use lock instead of claim in debug check



As mmc_detect_change() can be called from irq context, using
claim (which can sleep) is inherently unsafe. Use the host
spinlock instead, which also is faster.

Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 790864dc
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