path: root/drivers/gpu/ipu-v3
diff options
authorPingfan Liu <>2018-07-31 16:51:32 +0800
committerRafael J. Wysocki <>2018-08-06 12:35:20 +0200
commit55f2503c3b69328735e88031ff8d6ba291bd952b (patch)
treec89f476f4866d1e3ee11aa8b8601c68a23e3b025 /drivers/gpu/ipu-v3
parent82837ad5bda79cd13d64b9abad92e7872a06bc65 (diff)
PM / reboot: Eliminate race between reboot and suspend
At present, "systemctl suspend" and "shutdown" can run in parrallel. A system can suspend after devices_shutdown(), and resume. Then the shutdown task goes on to power off. This causes many devices are not really shut off. Hence replacing reboot_mutex with system_transition_mutex (renamed from pm_mutex) to achieve the exclusion. The renaming of pm_mutex as system_transition_mutex can be better to reflect the purpose of the mutex. Signed-off-by: Pingfan Liu <> Acked-by: Pavel Machek <> Signed-off-by: Rafael J. Wysocki <>
Diffstat (limited to 'drivers/gpu/ipu-v3')
0 files changed, 0 insertions, 0 deletions