Searched hist:"1 c5dd13459fe7caaeda82f7be878720c978d26f2" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/input/serio/ |
H A D | i8042.c | diff 1c5dd13459fe7caaeda82f7be878720c978d26f2 Wed Oct 07 03:03:57 CEST 2015 Rafael J. Wysocki <rafael.j.wysocki@intel.com> input: i8042: Avoid resetting controller on system suspend/resume
If the upcoming system suspend is not going to be handled by the platform firmware, like in the suspend-to-idle case, it is not necessary to reset the controller in i8042_pm_suspend(), so avoid doing that.
Moreover, if the system resume currently in progress has not been started by the platform firmware, like in the suspend-to-idle case, i8042_controller_resume() need not be called by i8042_pm_resume(), so avoid doing that too in that case.
Additionally, try to catch the event that woke up the system by calling the interrupt handler early during system resume if it has not been started by the platform firmware.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|