mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
parisc: Directly call machine_power_off() in power button driver
Signed-off-by: Helge Deller <deller@gmx.de> Tested-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -95,8 +95,7 @@ static void process_shutdown(void)
|
|||||||
/* send kill signal */
|
/* send kill signal */
|
||||||
if (kill_cad_pid(SIGINT, 1)) {
|
if (kill_cad_pid(SIGINT, 1)) {
|
||||||
/* just in case killing init process failed */
|
/* just in case killing init process failed */
|
||||||
if (pm_power_off)
|
machine_power_off();
|
||||||
pm_power_off();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user