Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b4043d7 authored by Ohad Ben-Cohen's avatar Ohad Ben-Cohen Committed by Chris Ball
Browse files

mmc: quirks: wl1271 is MMC_QUIRK_NONSTD_FUNC_IF



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: default avatarOhad Ben-Cohen <ohad@wizery.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent eab40687
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 }
};