linux/sound/hda
Pierre-Louis Bossart 722d33c442 ALSA: hda: intel-sdw-acpi: fix usage of device_get_named_child_node()
[ Upstream commit c158cf9147 ]

The documentation for device_get_named_child_node() mentions this
important point:

"
The caller is responsible for calling fwnode_handle_put() on the
returned fwnode pointer.
"

Add fwnode_handle_put() to avoid a leaked reference.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fixes: 08c2a4bc9f ("ALSA: hda: move Intel SoundWire ACPI scan to dedicated module")
Message-ID: <20240426152731.38420-1-pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-17 11:56:00 +02:00
..
ext ALSA: hda: ext: remove always-true conditions on host and link release 2022-09-20 08:08:14 +02:00
array.c treewide: Add SPDX license identifier for missed files 2019-05-21 10:50:45 +02:00
hda_bus_type.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
hdac_bus.c ALSA: hda: Skip event processing for unregistered codecs 2022-07-15 16:26:50 +02:00
hdac_component.c ALSA: hda/i915 - fix list corruption with concurrent probes 2020-10-09 16:46:04 +02:00
hdac_controller.c ALSA: hda: Reset all SIE bits in INTCTL 2022-07-09 18:41:40 +02:00
hdac_device.c ALSA: hda: Fix unhandled register update during auto-suspend period 2023-05-30 14:03:17 +01:00
hdac_i915.c ALSA: hda: Fix discovery of i915 graphics PCI device 2022-06-21 14:05:12 +02:00
hdac_regmap.c ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync() 2023-08-23 17:52:26 +02:00
hdac_stream.c ALSA: hda: Refer to correct stream index at loops 2024-02-05 20:12:54 +00:00
hdac_sysfs.c ALSA: hda: fix potential memleak in 'add_widget_node' 2022-11-10 15:28:12 +01:00
hdmi_chmap.c ALSA: hda: Replace runtime->status->state reference to runtime->state 2022-09-27 08:47:33 +02:00
intel-dsp-config.c ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection 2023-11-08 14:11:05 +01:00
intel-nhlt.c ALSA: hda: intel-nhlt: Ignore vbps when looking for DMIC 32 bps format 2024-01-20 11:50:04 +01:00
intel-sdw-acpi.c ALSA: hda: intel-sdw-acpi: fix usage of device_get_named_child_node() 2024-05-17 11:56:00 +02:00
Kconfig ALSA: hda: Revert "ALSA: hda: Allow setting preallocation again for x86" 2021-03-19 16:55:11 +01:00
local.h ALSA: hda: Unexport some local helper functions 2020-05-16 08:29:49 +02:00
Makefile ALSA: hda: move Intel SoundWire ACPI scan to dedicated module 2021-03-02 15:33:00 +01:00
trace.c
trace.h tracing: ALSA: hda: Remove string manipulation out of the fast path 2022-07-04 14:31:19 +02:00