Skip to content

Commit

Permalink
ASoC: Intel: sof_sdw: Correct quirk for Lenovo Yoga Slim 7
Browse files Browse the repository at this point in the history
In addition to changing the DMI match to examine the product name rather
than the SKU, this adds the quirk to inform the machine driver to not
bind in the cs42l43 microphone DAI link.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
  • Loading branch information
simontrimmer committed Nov 21, 2024
1 parent 5a72ff8 commit 7560e05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sound/soc/intel/boards/sof_sdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -645,9 +645,10 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
.callback = sof_sdw_quirk_cb,
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "380E")
DMI_MATCH(DMI_PRODUCT_NAME, "83HM")
},
.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS),
.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS |
SOC_SDW_CODEC_MIC),
},
{
.callback = sof_sdw_quirk_cb,
Expand Down

0 comments on commit 7560e05

Please sign in to comment.