All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: intel-dsp-config: add quirk for CML devices based on ES8336 codec
@ 2021-11-22 23:22 Pierre-Louis Bossart
  2021-11-23 16:56 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre-Louis Bossart @ 2021-11-22 23:22 UTC (permalink / raw)
  To: alsa-devel
  Cc: tiwai, Mauro Carvalho Chehab, broonie, Huajun Li, Pierre-Louis Bossart

We've added quirks for ESS8336 but missed CML, add quirks for both LP
and H versions.

BugLink: https://github.com/thesofproject/linux/issues/3248
Fixes: 9d36ceab9415 ("ALSA: intel-dsp-config: add quirk for APL/GLK/TGL devices based on ES8336 codec")
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
---
 sound/hda/intel-dsp-config.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/sound/hda/intel-dsp-config.c b/sound/hda/intel-dsp-config.c
index b9ac9e9e45a4..3b1402a1f4a9 100644
--- a/sound/hda/intel-dsp-config.c
+++ b/sound/hda/intel-dsp-config.c
@@ -252,6 +252,11 @@ static const struct config_entry config_table[] = {
 		.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
 		.device = 0x02c8,
 	},
+	{
+		.flags = FLAG_SOF,
+		.device = 0x02c8,
+		.codec_hid = "ESSX8336",
+	},
 /* Cometlake-H */
 	{
 		.flags = FLAG_SOF,
@@ -276,6 +281,11 @@ static const struct config_entry config_table[] = {
 		.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
 		.device = 0x06c8,
 	},
+		{
+		.flags = FLAG_SOF,
+		.device = 0x06c8,
+		.codec_hid = "ESSX8336",
+	},
 #endif
 
 /* Icelake */
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ALSA: intel-dsp-config: add quirk for CML devices based on ES8336 codec
  2021-11-22 23:22 [PATCH] ALSA: intel-dsp-config: add quirk for CML devices based on ES8336 codec Pierre-Louis Bossart
@ 2021-11-23 16:56 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2021-11-23 16:56 UTC (permalink / raw)
  To: Pierre-Louis Bossart
  Cc: alsa-devel, broonie, Mauro Carvalho Chehab, Huajun Li

On Tue, 23 Nov 2021 00:22:54 +0100,
Pierre-Louis Bossart wrote:
> 
> We've added quirks for ESS8336 but missed CML, add quirks for both LP
> and H versions.
> 
> BugLink: https://github.com/thesofproject/linux/issues/3248
> Fixes: 9d36ceab9415 ("ALSA: intel-dsp-config: add quirk for APL/GLK/TGL devices based on ES8336 codec")
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>

Thanks, applied.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-23 16:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22 23:22 [PATCH] ALSA: intel-dsp-config: add quirk for CML devices based on ES8336 codec Pierre-Louis Bossart
2021-11-23 16:56 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.