ALSA: hda: Fix Cirrus ACPI device reference leaks
Get series with b4
b4 am 20260428074415.GA1632446@chcpu16Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ALSA: hda: cs35l56: Put ACPI device after setting companionsound/ | +1 | 1 reply | |
| 2/2 | ALSA: hda: cs35l41: Put ACPI device on missing physical nodesound/ | +3 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Simon Trimmer |
|---|---|
| Series | T-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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(-)