mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
Input: cyapa - add runtime power management support
This change implements runtime PM support in the driver and adds runtime_suspend_scanrate_ms power management interface in device's power group, so users or applications can control the runtime power management strategy of trackpad device according to their requirements. Signed-off-by: Dudley Du <dudl@cypress.com> Tested-by: Jeremiah Mahler <jmmahler@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
committed by
Dmitry Torokhov
parent
22e7db8111
commit
672865080a
@@ -242,6 +242,8 @@ struct cyapa {
|
||||
/* power mode settings */
|
||||
u8 suspend_power_mode;
|
||||
u16 suspend_sleep_time;
|
||||
u8 runtime_suspend_power_mode;
|
||||
u16 runtime_suspend_sleep_time;
|
||||
u8 dev_pwr_mode;
|
||||
u16 dev_sleep_time;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user