Skip to content

ALSA: hda: Fix Cirrus ACPI device reference leaks

Shuhao Fu linux-sound lkml 1 version In review

Get series with b4
b4 am 20260428074415.GA1632446@chcpu16

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ALSA: hda: cs35l56: Put ACPI device after setting companionsound/hda/codecs/side-codecs/cs35l56_hda.c+1 -01 reply
2/2ALSA: hda: cs35l41: Put ACPI device on missing physical nodesound/hda/codecs/side-codecs/cs35l41_hda.c+3 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchSimon Trimmer
SeriesT-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] ALSA: hda: Fix Cirrus ACPI device reference leaks

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(-)