We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70246f8 commit 37a6853Copy full SHA for 37a6853
drivers/acpi/platform_profile.c
@@ -412,6 +412,9 @@ void platform_profile_notify(struct platform_profile_handler *pprof)
412
{
413
if (!cur_profile)
414
return;
415
+ scoped_cond_guard(mutex_intr, return, &profile_lock) {
416
+ _notify_class_profile(pprof->class_dev, NULL);
417
+ }
418
sysfs_notify(acpi_kobj, NULL, "platform_profile");
419
}
420
EXPORT_SYMBOL_GPL(platform_profile_notify);
0 commit comments