atmel-mci: Set MMC_CAP_NEEDS_POLL if no detect_pin
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Fri, 19 Sep 2008 19:09:30 +0000 (21:09 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Sat, 20 Sep 2008 10:12:23 +0000 (12:12 +0200)
commitda45b66ec89bbf3a1c172688c35d4d3a6e8e757f
treeb338b38ccc89872cf51c4b204c7222477c65625b
parent75d33cc751214f8388d58fca3ef6d1df786b5861
atmel-mci: Set MMC_CAP_NEEDS_POLL if no detect_pin

This allows the mmc core to detect card insertion/removal for slots that
don't have any CD pin wired up.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/atmel-mci.c