]> git.baikalelectronics.ru Git - kernel.git/commit
s3cmci: fix direct write to interrupt mask
authorBen Dooks <ben@simtec.co.uk>
Thu, 1 Oct 2009 22:44:16 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Oct 2009 23:11:15 +0000 (16:11 -0700)
commit13f974d117f00f571224b5eeda3451fee4ea718e
tree7e1c1a6b7ef1bd048f4d46f1c5f51f482cf60f93
parent0d12e76d58f731a2c06641a9a58a289779d77025
s3cmci: fix direct write to interrupt mask

The clear_imask() call should be used to clear the interrupt mask
register, as it may end up clearing the SDIO interrupt bit if this is
enabled.

Change all writes of zero to SDIIMSK register to use clear_imask() ready
for the SDIO updates.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mmc/host/s3cmci.c