public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] ASoC: Intel: Balance ACPI device refcount
@ 2023-01-12 11:28 Andy Shevchenko
  2023-01-12 11:28 ` [PATCH v2 1/5] ASoC: Intel: bytcht_es8316: Drop reference count of ACPI device after use Andy Shevchenko
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Andy Shevchenko @ 2023-01-12 11:28 UTC (permalink / raw)
  To: Mark Brown, Hans de Goede, Pierre-Louis Bossart, alsa-devel,
	linux-kernel
  Cc: Cezary Rojewski, Liam Girdwood, Peter Ujfalusi, Bard Liao,
	Ranjani Sridharan, Kai Vehmanen, Jaroslav Kysela, Takashi Iwai,
	Andy Shevchenko

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-01-12 18:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-12 11:28 [PATCH v2 0/5] ASoC: Intel: Balance ACPI device refcount Andy Shevchenko
2023-01-12 11:28 ` [PATCH v2 1/5] ASoC: Intel: bytcht_es8316: Drop reference count of ACPI device after use Andy Shevchenko
2023-01-12 11:28 ` [PATCH v2 2/5] ASoC: Intel: bytcr_rt5651: " Andy Shevchenko
2023-01-12 11:28 ` [PATCH v2 3/5] ASoC: Intel: bytcr_rt5640: " Andy Shevchenko
2023-01-12 11:28 ` [PATCH v2 4/5] ASoC: Intel: bytcr_wm5102: " Andy Shevchenko
2023-01-12 11:28 ` [PATCH v2 5/5] ASoC: Intel: sof_es8336: " Andy Shevchenko
2023-01-12 14:56 ` [PATCH v2 0/5] ASoC: Intel: Balance ACPI device refcount Pierre-Louis Bossart
2023-01-12 18:23 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox