diff options
Diffstat (limited to 'drivers/mmc/core/quirks.c')
-rw-r--r-- | drivers/mmc/core/quirks.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mmc/core/quirks.c b/drivers/mmc/core/quirks.c index 06ee1aeaacec..6c36fccaa1ec 100644 --- a/drivers/mmc/core/quirks.c +++ b/drivers/mmc/core/quirks.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
14 | #include <linux/export.h> | 14 | #include <linux/export.h> |
15 | #include <linux/mmc/card.h> | 15 | #include <linux/mmc/card.h> |
16 | #include <linux/mmc/sdio_ids.h> | ||
16 | 17 | ||
17 | #ifndef SDIO_VENDOR_ID_TI | 18 | #ifndef SDIO_VENDOR_ID_TI |
18 | #define SDIO_VENDOR_ID_TI 0x0097 | 19 | #define SDIO_VENDOR_ID_TI 0x0097 |
@@ -30,6 +31,10 @@ | |||
30 | #define SDIO_DEVICE_ID_STE_CW1200 0x2280 | 31 | #define SDIO_DEVICE_ID_STE_CW1200 0x2280 |
31 | #endif | 32 | #endif |
32 | 33 | ||
34 | #ifndef SDIO_DEVICE_ID_MARVELL_8797_F0 | ||
35 | #define SDIO_DEVICE_ID_MARVELL_8797_F0 0x9128 | ||
36 | #endif | ||
37 | |||
33 | /* | 38 | /* |
34 | * This hook just adds a quirk for all sdio devices | 39 | * This hook just adds a quirk for all sdio devices |
35 | */ | 40 | */ |
@@ -58,6 +63,9 @@ static const struct mmc_fixup mmc_fixup_methods[] = { | |||
58 | SDIO_FIXUP(SDIO_VENDOR_ID_STE, SDIO_DEVICE_ID_STE_CW1200, | 63 | SDIO_FIXUP(SDIO_VENDOR_ID_STE, SDIO_DEVICE_ID_STE_CW1200, |
59 | add_quirk, MMC_QUIRK_BROKEN_BYTE_MODE_512), | 64 | add_quirk, MMC_QUIRK_BROKEN_BYTE_MODE_512), |
60 | 65 | ||
66 | SDIO_FIXUP(SDIO_VENDOR_ID_MARVELL, SDIO_DEVICE_ID_MARVELL_8797_F0, | ||
67 | add_quirk, MMC_QUIRK_BROKEN_IRQ_POLLING), | ||
68 | |||
61 | END_FIXUP | 69 | END_FIXUP |
62 | }; | 70 | }; |
63 | 71 | ||