mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
mmc: core: add NXP IW61x base ID and block size quirk
The NXP IW61x series SDIO chipset identifies itself with a base card ID (0x0204) during the initial MMC bus scan, while the specific WLAN function reports a different ID (0x0205). To ensure that the MMC_QUIRK_BLKSZ_FOR_BYTE_MODE quirk is correctly inherited by all SDIO functions (including Wi-Fi), it must be attached to the base card ID at the core level. Add the SDIO_DEVICE_ID_NXP_IW61X_BASE definition and apply the required fixup in the SDIO quirk table. Signed-off-by: Jeff Chen <jeff.chen_1@nxp.com>
This commit is contained in:
parent
ac798f757d
commit
dc4d1a7615
|
|
@ -208,6 +208,9 @@ static const struct mmc_fixup __maybe_unused sdio_fixup_methods[] = {
|
|||
SDIO_FIXUP(SDIO_VENDOR_ID_MARVELL, SDIO_DEVICE_ID_MARVELL_8887_F0,
|
||||
add_limit_rate_quirk, 150000000),
|
||||
|
||||
SDIO_FIXUP(SDIO_VENDOR_ID_NXP, SDIO_DEVICE_ID_NXP_IW61X_BASE,
|
||||
add_quirk, MMC_QUIRK_BLKSZ_FOR_BYTE_MODE),
|
||||
|
||||
END_FIXUP
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -118,6 +118,7 @@
|
|||
#define SDIO_DEVICE_ID_MICROCHIP_WILC1000 0x5347
|
||||
|
||||
#define SDIO_VENDOR_ID_NXP 0x0471
|
||||
#define SDIO_DEVICE_ID_NXP_IW61X_BASE 0x0204
|
||||
#define SDIO_DEVICE_ID_NXP_IW61X 0x0205
|
||||
|
||||
#define SDIO_VENDOR_ID_REALTEK 0x024c
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user