public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Allow UVC devices to remain runtime-suspended when sleeping
@ 2015-04-17 15:24 Tomeu Vizoso
  2015-04-17 15:24 ` [PATCH v3 1/2] PM / sleep: Let devices force direct_complete Tomeu Vizoso
  2015-04-17 15:24 ` [PATCH v3 2/2] [media] uvcvideo: Remain runtime-suspended at sleeps Tomeu Vizoso
  0 siblings, 2 replies; 18+ messages in thread
From: Tomeu Vizoso @ 2015-04-17 15:24 UTC (permalink / raw)
  To: linux-pm
  Cc: Laurent Pinchart, Dmitry Torokhov, Alan Stern, Tomeu Vizoso,
	Greg Kroah-Hartman, Len Brown, linux-kernel, linux-media,
	Mauro Carvalho Chehab, Pavel Machek, Rafael J. Wysocki

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


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-11-09 21:23 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-17 15:24 [PATCH v3 0/2] Allow UVC devices to remain runtime-suspended when sleeping Tomeu Vizoso
2015-04-17 15:24 ` [PATCH v3 1/2] PM / sleep: Let devices force direct_complete Tomeu Vizoso
2015-04-17 15:33   ` Greg Kroah-Hartman
2015-04-17 15:35   ` Laurent Pinchart
2015-04-17 17:30     ` Alan Stern
2015-04-20  7:10       ` Tomeu Vizoso
2015-04-20 14:12         ` Alan Stern
2015-04-28 14:26           ` Tomeu Vizoso
2015-04-28 14:54             ` Rafael J. Wysocki
2015-04-30  7:11           ` Ulf Hansson
2015-04-30 14:53             ` Alan Stern
2015-05-06  8:30               ` Ulf Hansson
2015-05-06 14:43                 ` Alan Stern
2015-05-06 16:05                   ` Ulf Hansson
2015-04-17 15:24 ` [PATCH v3 2/2] [media] uvcvideo: Remain runtime-suspended at sleeps Tomeu Vizoso
2015-04-17 17:32   ` Alan Stern
2015-04-20  7:11     ` Tomeu Vizoso
2015-11-09 21:23       ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox