Skip to content

Commit caa15c8

Browse files
plbossartvinodkoul
authored andcommitted
soundwire: dmi-quirks: add quirk for Intel 'Bishop County' NUC M15
The same quirk is used for LAPBC510 and LAPBC710 skews who use the same audio design. These devices have the same BIOS issues inherited from the Intel reference, add the same _ADR remap previously used on HP devices. BugLink: thesofproject#3049 Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Bard Liao <[email protected]> Reviewed-by: Kai Vehmanen <[email protected]> Reviewed-by: Rander Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 899a750 commit caa15c8

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

drivers/soundwire/dmi-quirks.c

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ struct adr_remap {
1616
};
1717

1818
/*
19-
* HP Spectre 360 Convertible devices do not expose the correct _ADR
20-
* in the DSDT.
19+
* Some TigerLake devices based on an initial Intel BIOS do not expose
20+
* the correct _ADR in the DSDT.
2121
* Remap the bad _ADR values to the ones reported by hardware
2222
*/
23-
static const struct adr_remap hp_spectre_360[] = {
23+
static const struct adr_remap intel_tgl_bios[] = {
2424
{
2525
0x000010025D070100ull,
2626
0x000020025D071100ull
@@ -61,7 +61,15 @@ static const struct dmi_system_id adr_remap_quirk_table[] = {
6161
DMI_MATCH(DMI_SYS_VENDOR, "HP"),
6262
DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Convertible"),
6363
},
64-
.driver_data = (void *)hp_spectre_360,
64+
.driver_data = (void *)intel_tgl_bios,
65+
},
66+
{
67+
/* quirk used for NUC15 'Bishop County' LAPBC510 and LAPBC710 skews */
68+
.matches = {
69+
DMI_MATCH(DMI_SYS_VENDOR, "Intel(R) Client Systems"),
70+
DMI_MATCH(DMI_PRODUCT_NAME, "LAPBC"),
71+
},
72+
.driver_data = (void *)intel_tgl_bios,
6573
},
6674
{
6775
.matches = {

0 commit comments

Comments
 (0)