mmc: quirks: wl1271 is MMC_QUIRK_NONSTD_FUNC_IF
authorOhad Ben-Cohen <ohad@wizery.com>
Tue, 5 Apr 2011 14:50:15 +0000 (17:50 +0300)
committerChris Ball <cjb@laptop.org>
Wed, 25 May 2011 00:59:56 +0000 (20:59 -0400)
Tell SDIO core to ignore the standard SDIO function interface
codes indicated by the wl1271. This is required because the
wl1271 erroneously indicates its first function as a standard
Bluetooth SDIO interface, and that drives btsdio mad.

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

index 11118b74eb20dc3c82f9fc96401d00c754c49b41..19573981d93424ae2d1f6047e65ea73b2cd2b383 100644 (file)
@@ -64,6 +64,8 @@ static const struct mmc_fixup mmc_fixup_methods[] = {
                add_quirk_for_sdio_devices, MMC_QUIRK_BROKEN_CLK_GATING },
        { SDIO_VENDOR_ID_TI, SDIO_DEVICE_ID_TI_WL1271,
                remove_quirk, MMC_QUIRK_BROKEN_CLK_GATING },
+       { SDIO_VENDOR_ID_TI, SDIO_DEVICE_ID_TI_WL1271,
+               add_quirk, MMC_QUIRK_NONSTD_FUNC_IF },
        { 0 }
 };