]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: hda/realtek: Autodetect Cirrus Logic companion amplifier bindings
authorSimon Trimmer <simont@opensource.cirrus.com>
Thu, 29 Aug 2024 16:11:14 +0000 (16:11 +0000)
committerTakashi Iwai <tiwai@suse.de>
Thu, 29 Aug 2024 16:17:08 +0000 (18:17 +0200)
commit2186fe21e57aada45f365a79cdb6d21140a539e2
treed856d8749f4b78f589f2d3d24dccc580ec6a1913
parentdfe5b1fe04ba78be8ae78def741d3108cd7d4f8d
ALSA: hda/realtek: Autodetect Cirrus Logic companion amplifier bindings

We do not need model specific HDA quirks to construct the component
binding details of Cirrus Logic companion amplifiers as this information
is already present in the ACPI.

Quirks are then only required for special workarounds not described in
the ACPI such as internal configuration of the Realtek codecs.

The codec pointer is now initialized in hda_component_manager_init() so
that we can detect when companion amplifiers are found in the ACPI but
the SSID invokes a quirk that also attempts to create the component
binding.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Link: https://patch.msgid.link/20240829161114.140938-1-simont@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_component.c
sound/pci/hda/hda_component.h
sound/pci/hda/patch_realtek.c