lkml.org 
[lkml]   [2015]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/2] Allow UVC devices to remain runtime-suspended when sleeping
Date
v3:	* Add a new power.force_direct_complete to let devices express that it's
safe to let them be runtime-suspended at system sleep regardless of the state
of their descendants

v2: * Let creators of the input device to decide whether it should remain
runtime suspended when the system goes into a sleep state
* Don't enable PM runtime on all evdev handlers
* Cope with another wrong wakeup setting in usb_dev_prepare

Hi,

this series contain what I needed to do in order to have my USB webcam to not
be resumed when the system resumes, reducing considerably the total time that
resuming takes.

It makes use of the facility that Rafael Wysocki added in aae4518b3 ("PM /
sleep: Mechanism to avoid resuming runtime-suspended devices unnecessarily").

Thanks,

Tomeu

Tomeu Vizoso (2):
PM / sleep: Let devices force direct_complete
[media] uvcvideo: Remain runtime-suspended at sleeps

drivers/base/power/main.c | 13 +++++++++----
drivers/media/usb/uvc/uvc_driver.c | 2 ++
include/linux/pm.h | 1 +
3 files changed, 12 insertions(+), 4 deletions(-)

--
2.3.5



\
 
 \ /
  Last update: 2015-04-17 18:01    [W:0.069 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site