Skip to content

Commit

Permalink
ALSA: intel-dsp-config: add quirk for CML devices based on ES8336 codec
Browse files Browse the repository at this point in the history
BugLink: https://bugs.launchpad.net/bugs/1953731

commit ae26c08 upstream.

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

BugLink: thesofproject/linux#3248
Fixes: 9d36cea ("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>
Link: https://lore.kernel.org/r/20211122232254.23362-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
  • Loading branch information
plbossart authored and arighi committed Jan 4, 2022
1 parent 330884d commit b419aaa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sound/hda/intel-dsp-config.c
Expand Up @@ -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,
Expand All @@ -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 */
Expand Down

0 comments on commit b419aaa

Please sign in to comment.