s3cmci: add SDIO IRQ support
commitc225889375fea2a542f1c9dedffec4c7b8ebc9ab
authorBen Dooks <ben@simtec.co.uk>
Thu, 1 Oct 2009 22:44:18 +0000 (1 15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Oct 2009 23:11:15 +0000 (1 16:11 -0700)
tree8ade1de61fa0286cfc32ef4e5c62ebaa821059c0
parent9bdd203b4dc82e9047486f0fed1977eef8185c6d
s3cmci: add SDIO IRQ support

The controller supports SDIO IRQ detection so add support for hardware
assisted SDIO interrupt detection for the SDIO core.  This improves the
response time for SDIO interrupts and thus the transfer rate from devices
such as the Marvel 8686.

As a note, it does seem that the controller will miss an IRQ than is held
asserted, so there are some manual checks to see if the SDIO interrupt is
active after a transfer.

Major testing on the S3C2440.

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
drivers/mmc/host/s3cmci.h