]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ACPI: platform_profile: Move matching string for new profile out of mutex
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 6 Dec 2024 03:19:03 +0000 (21:19 -0600)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 10 Dec 2024 17:17:56 +0000 (19:17 +0200)
commitab431a20756a0e755c91a5df78c8c70e0fbecd80
tree50e01760882418d30315a90fb6e8d771b08037c2
parent585484003dedaa35ffc8d1ead3f3334af021dee7
ACPI: platform_profile: Move matching string for new profile out of mutex

Holding the mutex is not necessary while scanning the string passed into
platform_profile_store().

Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20241206031918.1537-8-mario.limonciello@amd.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/acpi/platform_profile.c