mmc: add MMC_QUIRK_NONSTD_FUNC_IF
authorOhad Ben-Cohen <ohad@wizery.com>
Tue, 5 Apr 2011 14:50:14 +0000 (17:50 +0300)
committerChris Ball <cjb@laptop.org>
Wed, 25 May 2011 00:59:52 +0000 (20:59 -0400)
commiteab4068795d670b065164096805cbf15a19e9690
tree5fb62e0a18163fe2c46044cb23c276a9dad64477
parent6b93d01fe5971951911a070f51f412d50e9536dc
mmc: add MMC_QUIRK_NONSTD_FUNC_IF

Introduce MMC_QUIRK_NONSTD_FUNC_IF to ignore the "SDIO Standard Function
interface code" as indicated by the card's FBR, and instead treat all
functions as non-standard interfaces.

This is required to prevent standard drivers from facing
errors when trying to communicate with SDIO cards that erroneously
indicate standard function interface codes.

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