Re: [PATCH] ALSA: hda/realtek: Autodetect Cirrus Logic companion amplifier bindings

From: Takashi Iwai
Date: Thu Aug 29 2024 - 12:23:04 EST


On Thu, 29 Aug 2024 18:11:14 +0200,
Simon Trimmer wrote:
>
> 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@xxxxxxxxxxxxxxxxxxxxx>
> ---
> v1 - This patch applies to for-next with this additional patch:
> b1faff28a2bd ("ALSA: hda: hda_component: Fix mutex crash if nothing ever binds")
> which is currently only in the for-linus.

OK, I now merged for-linus to for-next, and applied yours.

> We're looking to do the same for the CS35L41 devices, but that will
> come later because there are many more quirks to work through.

That's understandable. Thanks!


Takashi