Message ID | 1302015015-8178-2-git-send-email-ohad@wizery.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi, On Tue, Apr 05 2011, Ohad Ben-Cohen wrote: > 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> > --- > drivers/mmc/core/quirks.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/drivers/mmc/core/quirks.c b/drivers/mmc/core/quirks.c > index 11118b7..1957398 100644 > --- a/drivers/mmc/core/quirks.c > +++ b/drivers/mmc/core/quirks.c > @@ -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 } > }; Thanks, pushed to mmc-next for .40. - Chris.
diff --git a/drivers/mmc/core/quirks.c b/drivers/mmc/core/quirks.c index 11118b7..1957398 100644 --- a/drivers/mmc/core/quirks.c +++ b/drivers/mmc/core/quirks.c @@ -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 } };
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> --- drivers/mmc/core/quirks.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)