mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
rk29: pm: disable vt switch while suspend, one bug show suspend may hung on vt_event_wait
This commit is contained in:
@@ -593,6 +593,10 @@ static int __init rk29_pm_init(void)
|
||||
pm_idle = rk29_idle;
|
||||
ddr_debug = 0;
|
||||
|
||||
#ifdef CONFIG_EARLYSUSPEND
|
||||
pm_set_vt_switch(0); /* disable vt switch while suspend */
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
__initcall(rk29_pm_init);
|
||||
|
||||
Reference in New Issue
Block a user