From: Pierre Ossman Date: Tue, 8 May 2007 20:35:17 +0000 (+0200) Subject: mmc: use lock instead of claim in debug check X-Git-Tag: v2.6.22-rc1~348 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1efd48b3ae8f89a1d04f1e36be96764d7bf43ae9;p=pandora-kernel.git 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: Pierre Ossman --- Reading git-diff-tree failed