Skip to content
Unverified Commit cafa39b6 authored by Brent Lu's avatar Brent Lu Committed by Mark Brown
Browse files

ASoC: soc-acpi: add comp_ids field for machine driver matching



A machine driver needs to be enumerated by more than one ACPI HID if
it supports second headphone driver (i.e. rt5682 and rt5682s).
However, the id field in snd_soc_acpi_mach structure could contain
only one HID. By adding a 'comp_ids' field which can contain several
HIDs, we can enumerate a machine driver by multiple ACPI HIDs.

Signed-off-by: default avatarBrent Lu <brent.lu@intel.com>
Link: https://lore.kernel.org/r/20211029171409.611600-2-brent.lu@intel.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6c8552eb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment