Skip to content

Commit 53c1c2d

Browse files
Hans de Goedeopsiff
authored andcommitted
wifi: brcmfmac: Add DMI nvram filename quirk for Acer A1 840 tablet
[ Upstream commit a8e5a11 ] The Acer A1 840 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-BayTrail.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 Acer A1 840 tablet. Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Hans de Goede <hansg@kernel.org> Link: https://patch.msgid.link/20251103100314.353826-1-hansg@kernel.org Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org> (cherry picked from commit f5323b43019d8fb834f3aa1efe752303c09b2971) Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent 08df0c2 commit 53c1c2d

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

  • drivers/net/wireless/broadcom/brcm80211/brcmfmac

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ static const struct brcmf_dmi_data acepc_t8_data = {
2424
BRCM_CC_4345_CHIP_ID, 6, "acepc-t8"
2525
};
2626

27+
static const struct brcmf_dmi_data acer_a1_840_data = {
28+
BRCM_CC_43340_CHIP_ID, 2, "acer-a1-840"
29+
};
30+
2731
/* The Chuwi Hi8 Pro uses the same Ampak AP6212 module as the Chuwi Vi8 Plus
2832
* and the nvram for the Vi8 Plus is already in linux-firmware, so use that.
2933
*/
@@ -91,6 +95,16 @@ static const struct dmi_system_id dmi_platform_data[] = {
9195
},
9296
.driver_data = (void *)&acepc_t8_data,
9397
},
98+
{
99+
/* Acer Iconia One 8 A1-840 (non FHD version) */
100+
.matches = {
101+
DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
102+
DMI_MATCH(DMI_PRODUCT_NAME, "BayTrail"),
103+
/* Above strings are too generic also match BIOS date */
104+
DMI_MATCH(DMI_BIOS_DATE, "04/01/2014"),
105+
},
106+
.driver_data = (void *)&acer_a1_840_data,
107+
},
94108
{
95109
/* Chuwi Hi8 Pro with D2D3_Hi8Pro.233 BIOS */
96110
.matches = {

0 commit comments

Comments
 (0)