[PATCH 0/2] ALSA: hda: Fix Cirrus ACPI device reference leaks
From: Shuhao Fu
Date: Tue Apr 28 2026 - 03:49:41 EST
This series fixes two missing acpi_dev_put() cases in Cirrus HDA side-codec
ACPI lookup paths.
Patch 1 drops the lookup reference after synthesizing the companion in
cs35l56_hda_read_acpi().
Patch 2 drops the lookup reference on the early !physdev error path in
cs35l41_hda_read_acpi().
Shuhao Fu (2):
ALSA: hda: cs35l56: Put ACPI device after setting companion
ALSA: hda: cs35l41: Fix ACPI device leak on missing physical node
sound/hda/codecs/side-codecs/cs35l41_hda.c | 4 +++-
sound/hda/codecs/side-codecs/cs35l56_hda.c | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)