1
linux/drivers/soundwire
Pierre-Louis Bossart e2d8ea0a06 soundwire: fix usages of device_get_named_child_node()
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 leaked references.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20240429004935.2400191-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2024-06-03 17:35:24 +05:30
..
amd_init.c soundwire: amd: use inline function for register update 2024-03-28 23:39:50 +05:30
amd_init.h soundwire: amd: use inline function for register update 2024-03-28 23:39:50 +05:30
amd_manager.c soundwire: fix usages of device_get_named_child_node() 2024-06-03 17:35:24 +05:30
amd_manager.h soundwire: amd: fix for wake interrupt handling for clockstop mode 2024-03-28 23:40:33 +05:30
bus_type.c soundwire: sysfs: remove sdw_slave_sysfs_init() 2024-03-28 23:38:47 +05:30
bus.c soundwire: bus: extend base clock checks to 96 MHz 2024-04-05 17:21:03 +05:30
bus.h
cadence_master.c soundwire: cadence: show the bus frequency and frame shape 2024-04-05 17:21:02 +05:30
cadence_master.h
debugfs.c soundwire: bus: introduce controller_id 2023-11-24 12:24:37 +05:30
dmi-quirks.c ASoC: Intel: common: DMI remap for rebranded Intel NUC M15 (LAPRC710) laptops 2024-02-08 21:23:19 +00:00
generic_bandwidth_allocation.c soundwire: generic_bandwidth_allocation use bus->params.max_dr_freq 2023-11-28 15:29:55 +05:30
intel_ace2x_debugfs.c
intel_ace2x.c soundwire: intel_ace2.x: add support for DOAISE property 2024-05-04 18:26:50 +05:30
intel_auxdevice.c soundwire: fix usages of device_get_named_child_node() 2024-06-03 17:35:24 +05:30
intel_auxdevice.h soundwire: intel: export intel_resume_child_device 2024-04-11 22:52:51 +05:30
intel_bus_common.c
intel_init.c soundwire: intel_init: resume all devices on exit. 2024-04-11 22:52:51 +05:30
intel.c soundwire: intel: add support for MeteorLake additional clocks 2024-04-05 17:21:03 +05:30
intel.h soundwire: intel_ace2.x: add support for DOAISE property 2024-05-04 18:26:50 +05:30
irq.c
irq.h
Kconfig
Makefile soundwire: amd: refactor amd soundwire manager device node creation 2024-01-30 16:06:34 +00:00
master.c soundwire: constify the struct device_type usage 2024-03-03 19:28:06 +05:30
mipi_disco.c soundwire: fix usages of device_get_named_child_node() 2024-06-03 17:35:24 +05:30
qcom.c soundwire: qcom: allow multi-link on newer devices 2024-04-11 19:27:17 +05:30
slave.c soundwire: constify the struct device_type usage 2024-03-03 19:28:06 +05:30
stream.c soundwire: Use snd_soc_substream_to_rtd() to obtain rtd 2024-03-03 19:29:28 +05:30
sysfs_local.h soundwire: sysfs: remove sdw_slave_sysfs_init() 2024-03-28 23:38:47 +05:30
sysfs_slave_dpn.c soundwire: sysfs: remove sdw_slave_sysfs_init() 2024-03-28 23:38:47 +05:30
sysfs_slave.c soundwire: sysfs: remove unneeded ATTRIBUTE_GROUPS() comments 2024-03-28 23:38:47 +05:30