summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-09-30 20:42:15 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-10-01 20:30:09 +0200
commit2f47382b3ea31346b46444389e0520ca3cad2c81 (patch)
tree42e5f4cece85d830b822665092318d7b48318411 /include/linux
parent0d20d54f089eca8cf43ecc9a2bca552d322619da (diff)
ALSA: hda: cs35l41: Switch to use acpi_bus_get_primary_device()
Replace acpi_get_first_physical_node() that is slated for removal with acpi_bus_get_primary_device() that takes a reference to the device it is about to return. This addresses a potential use-after-free that may occur if the device returned by acpi_get_first_physical_node() is removed right after dropping its ACPI companion's physical_node_lock in that function. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Takashi Iwai <tiwai@suse.de> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/6200303.MhkbZ0Pkbq@rafael.j.wysocki
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions