]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcce261e1fad509839ba38fae28ff9137a7f572c2
tree5fb62e0a18163fe2c46044cb23c276a9dad64477
parent9d0e092106de0625e17d0c29e2376cde2254b51b
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