[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230112112852.67714-1-andriy.shevchenko@linux.intel.com>
Date: Thu, 12 Jan 2023 13:28:47 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Mark Brown <broonie@...nel.org>,
Hans de Goede <hdegoede@...hat.com>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Cc: Cezary Rojewski <cezary.rojewski@...el.com>,
Liam Girdwood <liam.r.girdwood@...ux.intel.com>,
Peter Ujfalusi <peter.ujfalusi@...ux.intel.com>,
Bard Liao <yung-chuan.liao@...ux.intel.com>,
Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>,
Kai Vehmanen <kai.vehmanen@...ux.intel.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: [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(-)
--
2.39.0
Powered by blists - more mailing lists