mmc: add MMC_QUIRK_DISABLE_CD
authorOhad Ben-Cohen <ohad@wizery.com>
Tue, 5 Apr 2011 15:02:25 +0000 (18:02 +0300)
committerChris Ball <cjb@laptop.org>
Wed, 25 May 2011 01:00:01 +0000 (21:00 -0400)
commit2059a02dcb84236f9db9197fa9b00418d7b8465b
treed51b9fe1b70a7e3e7d5c24912637d22a04bf35b5
parent0b4043d70af5871908864fa725821bc8e667542d
mmc: add MMC_QUIRK_DISABLE_CD

006ebd5d introduced sdio_disable_cd(), which disconnects the pull-up
resistor on CD/DAT[3] (pin 1) of the card.

Make it possible to start using sdio_disable_cd() by introducing
MMC_QUIRK_DISABLE_CD.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/sdio.c
include/linux/mmc/card.h