]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitddec5101a50fb4d7ffc4ecb001728afad9042e53
treed51b9fe1b70a7e3e7d5c24912637d22a04bf35b5
parent5efe77f41124c9cc03d7ae127e8ee6ca0cdefee5
mmc: add MMC_QUIRK_DISABLE_CD

5653c8aa 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