Loading arch/arm/mach-msm/subsystem_restart.c +5 −2 Original line number Diff line number Diff line Loading @@ -690,6 +690,7 @@ static void subsystem_restart_wq_func(struct work_struct *work) struct subsys_tracking *track; unsigned count; unsigned long flags; bool force_stop = true; /* * It's OK to not take the registration lock at this point. Loading Loading @@ -718,9 +719,11 @@ static void subsystem_restart_wq_func(struct work_struct *work) pr_debug("[%p]: Starting restart sequence for %s\n", current, desc->name); notify_each_subsys_device(list, count, SUBSYS_BEFORE_SHUTDOWN, NULL); notify_each_subsys_device(list, count, SUBSYS_BEFORE_SHUTDOWN, (void *)force_stop); for_each_subsys_device(list, count, NULL, subsystem_shutdown); notify_each_subsys_device(list, count, SUBSYS_AFTER_SHUTDOWN, NULL); notify_each_subsys_device(list, count, SUBSYS_AFTER_SHUTDOWN, (void *)force_stop); notify_each_subsys_device(list, count, SUBSYS_RAMDUMP_NOTIFICATION, &enable_ramdumps); Loading Loading
arch/arm/mach-msm/subsystem_restart.c +5 −2 Original line number Diff line number Diff line Loading @@ -690,6 +690,7 @@ static void subsystem_restart_wq_func(struct work_struct *work) struct subsys_tracking *track; unsigned count; unsigned long flags; bool force_stop = true; /* * It's OK to not take the registration lock at this point. Loading Loading @@ -718,9 +719,11 @@ static void subsystem_restart_wq_func(struct work_struct *work) pr_debug("[%p]: Starting restart sequence for %s\n", current, desc->name); notify_each_subsys_device(list, count, SUBSYS_BEFORE_SHUTDOWN, NULL); notify_each_subsys_device(list, count, SUBSYS_BEFORE_SHUTDOWN, (void *)force_stop); for_each_subsys_device(list, count, NULL, subsystem_shutdown); notify_each_subsys_device(list, count, SUBSYS_AFTER_SHUTDOWN, NULL); notify_each_subsys_device(list, count, SUBSYS_AFTER_SHUTDOWN, (void *)force_stop); notify_each_subsys_device(list, count, SUBSYS_RAMDUMP_NOTIFICATION, &enable_ramdumps); Loading