diff mbox series

[SRU,OEM-5.10,6/6] UBUNTU: SAUCE: ASoC: Intel: sof_sdw: set SOF_SDW_FOUR_SPK to Dell TGL-H SKU 0A5E

Message ID 20210115020421.6534-7-hui.wang@canonical.com
State New
Headers show
Series alsa/sdw: support soundwire audio for TGL-H machines | expand

Commit Message

Hui Wang Jan. 15, 2021, 2:04 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1911830

Otherwise the speakers on the right side can't output sound since
the alsa userspace will initialize the speakers by rt1308-2.conf.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
(cherry picked from commit 2105915ff42a665ffa85d1ede46b4c07e13ccf22
git://github.com/thesofproject/linux.git topic/sof-dev)
Signed-off-by: Hui Wang <hui.wang@canonical.com>
---
 sound/soc/intel/boards/sof_sdw.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c
index d0064b15d0e1..a8d43c87cb5a 100644
--- a/sound/soc/intel/boards/sof_sdw.c
+++ b/sound/soc/intel/boards/sof_sdw.c
@@ -64,7 +64,8 @@  static const struct dmi_system_id sof_sdw_quirk_table[] = {
 			DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0A5E")
 		},
 		.driver_data = (void *)(SOF_RT711_JD_SRC_JD2 |
-					SOF_RT715_DAI_ID_FIX),
+					SOF_RT715_DAI_ID_FIX |
+					SOF_SDW_FOUR_SPK),
 	},
 	{
 		.callback = sof_sdw_quirk_cb,