All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Multiple headphone codec driver support
@ 2021-10-07 13:35 ` Brent Lu
  0 siblings, 0 replies; 14+ messages in thread
From: Brent Lu @ 2021-10-07 13:35 UTC (permalink / raw)
  To: alsa-devel
  Cc: Guennadi Liakhovetski, Cezary Rojewski, Jie Yang, Rander Wang,
	Mac Chiang, Gongjun Song, Bard Liao, Takashi Iwai,
	Pierre-Louis Bossart, Vamshi Krishna Gopal, Yong Zhi,
	Charles Keepax, Hans de Goede, Mark Brown, Paul Olaru, Brent Lu,
	Libin Yang, Malik_Hsu, Kai Vehmanen, Liam Girdwood, linux-kernel,
	Curtis Malainey

Support multiple headphone drivers in same machine driver. In this
case, both rt5682 and rt5682s are supported and enumerated by different
ACPI HID "10EC5682" and "RTL5682".

V2 Changes:
- remove useless 'NULL', 'false' in if-condition
- can use 'comp_ids' field alone to enumerate driver
- add comma to the end of entry in structure initialization
- keep the table of byt/cht/cml/icl untouched

Brent Lu (3):
  ASoC: soc-acpi: add comp_ids field for machine driver matching
  ASoC: Intel: sof_rt5682: detect codec variant in probe function
  ASoC: Intel: sof_rt5682: use comp_ids to enumerate rt5682s

 include/sound/soc-acpi.h                      |  2 ++
 sound/soc/intel/boards/sof_rt5682.c           | 34 +++---------------
 .../intel/common/soc-acpi-intel-adl-match.c   | 11 ++++--
 .../intel/common/soc-acpi-intel-jsl-match.c   | 35 +++++--------------
 .../intel/common/soc-acpi-intel-tgl-match.c   | 11 ++++--
 sound/soc/soc-acpi.c                          | 24 +++++++++++--
 6 files changed, 52 insertions(+), 65 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2021-10-07 18:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-07 13:35 [PATCH v2 0/3] Multiple headphone codec driver support Brent Lu
2021-10-07 13:35 ` Brent Lu
2021-10-07 13:35 ` [PATCH v2 1/3] ASoC: soc-acpi: add comp_ids field for machine driver matching Brent Lu
2021-10-07 13:35   ` Brent Lu
2021-10-07 17:05   ` Cezary Rojewski
2021-10-07 17:05     ` Cezary Rojewski
2021-10-07 17:27     ` Pierre-Louis Bossart
2021-10-07 17:27       ` Pierre-Louis Bossart
2021-10-07 18:46       ` Cezary Rojewski
2021-10-07 18:46         ` Cezary Rojewski
2021-10-07 13:35 ` [PATCH v2 2/3] ASoC: Intel: sof_rt5682: detect codec variant in probe function Brent Lu
2021-10-07 13:35   ` Brent Lu
2021-10-07 13:35 ` [PATCH v2 3/3] ASoC: Intel: sof_rt5682: use comp_ids to enumerate rt5682s Brent Lu
2021-10-07 13:35   ` Brent Lu

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.