Skip to content

Commit 75ae9ec

Browse files
jwrdegoedeksacilotto
authored andcommitted
brcmfmac: Add DMI nvram filename quirk for Predia Basic tablet
BugLink: https://bugs.launchpad.net/bugs/1920235 [ Upstream commit af4b3a6 ] The Predia Basic tablet contains quite generic names in the sys_vendor and product_name DMI strings, without this patch brcmfmac will try to load: brcmfmac43340-sdio.Insyde-CherryTrail.txt as nvram file which is a bit too generic. Add a DMI quirk so that a unique and clearly identifiable nvram file name is used on the Predia Basic tablet. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20210129171413.139880-1-hdegoede@redhat.com Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Kamal Mostafa <kamal@canonical.com> Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
1 parent 24e8e70 commit 75ae9ec

File tree

1 file changed

+14
-0
lines changed
  • drivers/net/wireless/broadcom/brcm80211/brcmfmac

1 file changed

+14
-0
lines changed

drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ static const struct brcmf_dmi_data pov_tab_p1006w_data = {
4040
BRCM_CC_43340_CHIP_ID, 2, "pov-tab-p1006w-data"
4141
};
4242

43+
static const struct brcmf_dmi_data predia_basic_data = {
44+
BRCM_CC_43341_CHIP_ID, 2, "predia-basic"
45+
};
46+
4347
static const struct dmi_system_id dmi_platform_data[] = {
4448
{
4549
/* ACEPC T8 Cherry Trail Z8350 mini PC */
@@ -111,6 +115,16 @@ static const struct dmi_system_id dmi_platform_data[] = {
111115
},
112116
.driver_data = (void *)&pov_tab_p1006w_data,
113117
},
118+
{
119+
/* Predia Basic tablet (+ with keyboard dock) */
120+
.matches = {
121+
DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
122+
DMI_MATCH(DMI_PRODUCT_NAME, "CherryTrail"),
123+
/* Mx.WT107.KUBNGEA02 with the version-nr dropped */
124+
DMI_MATCH(DMI_BIOS_VERSION, "Mx.WT107.KUBNGEA"),
125+
},
126+
.driver_data = (void *)&predia_basic_data,
127+
},
114128
{}
115129
};
116130

0 commit comments

Comments
 (0)