]> git.baikalelectronics.ru Git - kernel.git/commit
s3cmci: add SDIO IRQ support
authorBen Dooks <ben@simtec.co.uk>
Thu, 1 Oct 2009 22:44:18 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Oct 2009 23:11:15 +0000 (16:11 -0700)
commit82e295866713f0dbd4bf00047df876b64a029571
tree8ade1de61fa0286cfc32ef4e5c62ebaa821059c0
parentdeb0185026712e69415b9165aeca4c7956ea117c
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