Skip to content

ASoC: Intel: Balance ACPI device refcount

Andy Shevchenko alsa-devel lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/25 patches 2 repliesIn review
  2. v2 posting 1/21 patch 1 replySuperseded
  3. v16 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- split Intel drivers out from others (Pierre)
- sent with cover letter (Mark)

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ASoC: Intel: bytcht_es8316: Drop reference count of ACPI device after usesound/soc/intel/boards/bytcht_es8316.c+12 -80 replies
2/5ASoC: Intel: bytcr_rt5651: Drop reference count of ACPI device after usesound/soc/intel/boards/bytcr_rt5651.c+1 -10 replies
3/5ASoC: Intel: bytcr_rt5640: Drop reference count of ACPI device after usesound/soc/intel/boards/bytcr_rt5640.c+6 -60 replies
4/5ASoC: Intel: bytcr_wm5102: Drop reference count of ACPI device after usesound/soc/intel/boards/bytcr_wm5102.c+1 -10 replies
5/5ASoC: Intel: sof_es8336: Drop reference count of ACPI device after usesound/soc/intel/boards/sof_es8336.c+8 -60 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPierre-Louis Bossart
SeriesA-b
1/5
2/5
3/5
4/5
5/5

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

Read the v2 thread

Cover letter [PATCH v2 0/5] ASoC: Intel: Balance ACPI device refcount

While looking for the open coded put_device(&adev->dev) cases, where adev stands for ACPI device, I noticed that in a few ASoC Intel driver, among others, the refcount is not balanced properly in some cases.

This series fixes that issue and converts to use acpi_dev_put().

Changelog v2:
- split Intel drivers out from others (Pierre)
- sent with cover letter (Mark)

Andy Shevchenko (5):
ASoC: Intel: bytcht_es8316: Drop reference count of ACPI device after
use
ASoC: Intel: bytcr_rt5651: Drop reference count of ACPI device after
use
ASoC: Intel: bytcr_rt5640: Drop reference count of ACPI device after
use
ASoC: Intel: bytcr_wm5102: Drop reference count of ACPI device after
use
ASoC: Intel: sof_es8336: Drop reference count of ACPI device after use

 sound/soc/intel/boards/bytcht_es8316.c | 20 ++++++++++++--------
 sound/soc/intel/boards/bytcr_rt5640.c  | 12 ++++++------
 sound/soc/intel/boards/bytcr_rt5651.c  |  2 +-
 sound/soc/intel/boards/bytcr_wm5102.c  |  2 +-
 sound/soc/intel/boards/sof_es8336.c    | 14 ++++++++------
 5 files changed, 28 insertions(+), 22 deletions(-)
Signature · 1 line
2.39.0