lkml.org 
[lkml]   [2023]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/5] ASoC: Intel: Balance ACPI device refcount
Date
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(-)

--
2.39.0

\
 
 \ /
  Last update: 2023-03-26 23:37    [W:0.073 / U:0.852 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site