diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-10-01 18:44:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-01 19:11:15 -0400 |
commit | c225889375fea2a542f1c9dedffec4c7b8ebc9ab (patch) | |
tree | 8ade1de61fa0286cfc32ef4e5c62ebaa821059c0 /drivers/mmc/host/s3cmci.h | |
parent | 9bdd203b4dc82e9047486f0fed1977eef8185c6d (diff) |
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>
Diffstat (limited to 'drivers/mmc/host/s3cmci.h')
-rw-r--r-- | drivers/mmc/host/s3cmci.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/host/s3cmci.h b/drivers/mmc/host/s3cmci.h index fc96194a06f4..62fac6602306 100644 --- a/drivers/mmc/host/s3cmci.h +++ b/drivers/mmc/host/s3cmci.h | |||
@@ -42,6 +42,11 @@ struct s3cmci_host { | |||
42 | int dodma; | 42 | int dodma; |
43 | int dmatogo; | 43 | int dmatogo; |
44 | 44 | ||
45 | bool irq_disabled; | ||
46 | bool irq_enabled; | ||
47 | bool irq_state; | ||
48 | int sdio_irqen; | ||
49 | |||
45 | struct mmc_request *mrq; | 50 | struct mmc_request *mrq; |
46 | int cmd_is_stop; | 51 | int cmd_is_stop; |
47 | 52 | ||