Commit 12f8ef8fb21f3b410b28eb57fc79bfe71232512a
Committed by
Chris Ball
1 parent
db9935000d
Exists in
master
and in
7 other branches
mmc: remove BROKEN_CLK_GATING quirk for wl1271
This sdio card supports having its sdio clock shutdown. It is also not using the SDIO IRQ, but rather uses a side gpio irq. Signed-off-by: Pierre Tardy <tardyp@gmail.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Showing 1 changed file with 11 additions and 1 deletions Side-by-side Diff
drivers/mmc/core/quirks.c
... | ... | @@ -49,11 +49,21 @@ |
49 | 49 | card->quirks |= data; |
50 | 50 | } |
51 | 51 | |
52 | +#ifndef SDIO_VENDOR_ID_TI | |
53 | +#define SDIO_VENDOR_ID_TI 0x0097 | |
54 | +#endif | |
55 | + | |
56 | +#ifndef SDIO_DEVICE_ID_TI_WL1271 | |
57 | +#define SDIO_DEVICE_ID_TI_WL1271 0x4076 | |
58 | +#endif | |
59 | + | |
52 | 60 | static const struct mmc_fixup mmc_fixup_methods[] = { |
53 | 61 | /* by default sdio devices are considered CLK_GATING broken */ |
54 | 62 | /* good cards will be whitelisted as they are tested */ |
55 | 63 | { SDIO_ANY_ID, SDIO_ANY_ID, |
56 | - add_quirk_for_sdio_devices, MMC_QUIRK_BROKEN_CLK_GATING } | |
64 | + add_quirk_for_sdio_devices, MMC_QUIRK_BROKEN_CLK_GATING }, | |
65 | + { SDIO_VENDOR_ID_TI, SDIO_DEVICE_ID_TI_WL1271, | |
66 | + remove_quirk, MMC_QUIRK_BROKEN_CLK_GATING }, | |
57 | 67 | { 0 } |
58 | 68 | }; |
59 | 69 |