ACPI: platform_profile: Use `scoped_cond_guard`
Migrate away from using an interruptible mutex to scoped_cond_guard in all functions. While changing, move the sysfs notification used in platform_profile_store() outside of mutex scope. Reviewed-by:Armin Wolf <W_Armin@gmx.de> Tested-by:
Mark Pearson <mpearson-lenovo@squebb.ca> Reviewed-by:
Mark Pearson <mpearson-lenovo@squebb.ca> Reviewed-by:
Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by:
Mario Limonciello <mario.limonciello@amd.com> Link: https://lore.kernel.org/r/20241206031918.1537-10-mario.limonciello@amd.com Signed-off-by:
Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Loading
Please register or sign in to comment