mmc: at91_mci: Enable MMC_CAP_SDIO_IRQ only when it actually works.
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 5 Mar 2010 21:43:43 +0000 (13:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:43 +0000 (11:26 -0800)
commit541e7ef0399c6c5753cc8d3e8f371dcb3627e8a4
treeaa59b87e5a72be2dffce79e85c4df2ccb58e12d7
parent9af13be2acac60ca5593e41a601d4a5b6bc35302
mmc: at91_mci: Enable MMC_CAP_SDIO_IRQ only when it actually works.

According to the datasheets AT91SAM9261 does not support SDIO interrupts,
and AT91SAM9260/9263 have an erratum requiring 4bit mode while using slot
B for the interrupt to work.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Wolfgang Muees <wolfgang.mues@auerswald.de>
Cc: Andrew Victor <avictor.za@gmail.com>
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/at91_mci.c