]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
mmc: sdio: fix wl1251 vendor id
authorH. Nikolaus Schaller <hns@goldelico.com>
Thu, 7 Nov 2019 10:30:42 +0000 (11:30 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit e5db673e7fe2f971ec82039a28dc0811c2100e87 ]

v4.11-rc1 did introduce a patch series that rearranged the
sdio quirks into a header file. Unfortunately this did forget
to handle SDIO_VENDOR_ID_TI differently between wl1251 and
wl1271 with the result that although the wl1251 was found on
the sdio bus, the firmware did not load any more and there was
no interface registration.

This patch defines separate constants to be used by sdio quirks
and drivers.

Fixes: 884f38607897 ("mmc: core: move some sdio IDs out of quirks file")
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Cc: <stable@vger.kernel.org> # v4.11+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
include/linux/mmc/sdio_ids.h

index 0a7abe8a407ff223bfdbd18890a0b20bac9f4aee..68bbbd9edc08e6b9b319899d90fbf68a164bd305 100644 (file)
@@ -67,6 +67,8 @@
 
 #define SDIO_VENDOR_ID_TI                      0x0097
 #define SDIO_DEVICE_ID_TI_WL1271               0x4076
+#define SDIO_VENDOR_ID_TI_WL1251               0x104c
+#define SDIO_DEVICE_ID_TI_WL1251               0x9066
 
 #define SDIO_VENDOR_ID_STE                     0x0020
 #define SDIO_DEVICE_ID_STE_CW1200              0x2280