Skip to content
GitLab
  • Explore
  • Sign in
  • Register
  • xcap
  • xcap-capability-linux
  • Repository
  • xcap-capability-linux
  • drivers
  • mmc
  • core
  • core.c
Find file Blame History Permalink
  • Pierre Ossman's avatar
    mmc: use lock instead of claim in debug check · 1efd48b3
    Pierre Ossman authored May 08, 2007
    
    
    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>
    1efd48b3