diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2024-04-26 17:27:31 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-04-29 17:32:27 +0200 |
commit | c158cf914713efc3bcdc25680c7156c48c12ef6a (patch) | |
tree | b5ff1efa91d9bccc128a13efe7b09809cdf2f239 /README | |
parent | ALSA: hda: intel-dsp-config: harden I2C/I2S codec detection (diff) | |
download | linux-c158cf914713efc3bcdc25680c7156c48c12ef6a.tar.xz linux-c158cf914713efc3bcdc25680c7156c48c12ef6a.zip |
ALSA: hda: intel-sdw-acpi: fix usage 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 a leaked reference.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fixes: 08c2a4bc9f2a ("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>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions