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: NPierre Ossman <drzeus@drzeus.cx>
Showing
想要评论请 注册 或 登录