mmc: sdhci-s3c: fix incorrect spinlock usage after merge
commit06fe577f841f383b2d4f743cfb74fac7f6468353
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 20 Sep 2010 13:03:42 +0000 (20 15:03 +0200)
committerChris Ball <cjb@laptop.org>
Sun, 26 Sep 2010 20:27:02 +0000 (26 16:27 -0400)
tree8e2a54b3e99e2eb30617f7d5803038d66c89aa2e
parent245feaa61dbdabffafd47b973595e06abb1288f4
mmc: sdhci-s3c: fix incorrect spinlock usage after merge

In the commit f522886e202a34a2191dd5d471b3c4d46410a9a0 a merge conflict
in the sdhci-s3c driver been fixed. However the fix used incorrect
spinlock operation - it caused a race with sdhci interrupt service. The
correct way to solve it is to use spin_lock_irqsave/irqrestore() calls.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-s3c.c