mmc: sdio: Fix macro name for Marvell device with ID 0x9134
authorPali Rohár <pali@kernel.org>
Fri, 22 May 2020 14:44:02 +0000 (16:44 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:26:47 +0000 (11:26 +0200)
commit4bc90f492230af6661bc2021dddd501f7c842334
tree34b72e3d7e0e564d60091e036a3db07d353f241c
parentb303c16cf3aa840c4abdda3b015313bfd83dad62
mmc: sdio: Fix macro name for Marvell device with ID 0x9134

Marvell SDIO device ID 0x9134 is used in SDIO Common CIS (Card Information
Structure) and not in SDIO wlan function (with ID 1). SDIO Common CIS is
accessed by function ID 0.

So change this misleading macro name to SDIO_DEVICE_ID_MARVELL_8887_F0 as
it does not refer to wlan function. It refers to function 0.

Wlan module on this SDIO card is available at function ID 1 and is
identified by different SDIO device ID 0x9135. Kernel quirks for SDIO
devices are matched against device ID from SDIO Common CIS. Therefore
device ID used in quirk is correct, just has misleading name.

Signed-off-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/20200522144412.19712-2-pali@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/quirks.h
include/linux/mmc/sdio_ids.h