On 17 April 2015 at 19:32, Alan Stern st...@rowland.harvard.edu wrote:
On Fri, 17 Apr 2015, Tomeu Vizoso wrote:
When the system goes to sleep and afterwards resumes, a significant
amount of time is spent suspending and resuming devices that were
already runtime-suspended.
By setting
in
runtime-suspend.
Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com
---
drivers/media/usb/uvc/uvc_driver.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/media/usb/uvc/uvc_driver.c
b/drivers/media/usb/uvc/uvc_driver.c
index 5970dd6..ae75a70 100644
--- a/drivers/media/usb/uvc
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
On 4 April 2015 at 14:33, Laurent Pinchart
laurent.pinch...@ideasonboard.com wrote:
Hi Tomeu,
Thank you for the patch.
Could you please CC me on the whole series for v3 ?
Sure.
On Friday 03 April 2015 14:57:53 Tomeu Vizoso wrote:
So UVC devices can remain runtime-suspended when the system
So that the UVC device can remain runtime suspended when the system goes
into a sleep state, let the input device do the same.
Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com
---
drivers/media/usb/uvc/uvc_status.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/usb/uvc
Have it return 1 so that video devices that are runtime-suspended won't
be suspended when the system goes to a sleep state. This can make resume
times considerably shorter because these devices don't need to be
resumed when the system is awaken.
Signed-off-by: Tomeu Vizoso tomeu.viz
Have it return 1 so that media device nodes that are runtime-suspended
won't be suspended when the system goes to a sleep state. This can make
resume times considerably shorter because these devices don't need to be
resumed when the system is awaken.
Signed-off-by: Tomeu Vizoso tomeu.viz
So UVC devices can remain runtime-suspended when the system goes into a
sleep state, they and all of their descendant devices need to have
runtime PM enable.
Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com
---
drivers/media/usb/uvc/uvc_driver.c | 11 +++
1 file changed, 11
),
which requires that a device and all its descendants opt-in by having their
dev_pm_ops.prepare callback return 1, to have runtime PM enabled, and to be
runtime suspended when the system goes to a sleep state.
Thanks,
Tomeu
Tomeu Vizoso (7):
Input: Implement dev_pm_ops.prepare in input_class
Have it return 1 so that video devices that are runtime-suspended won't
be suspended when the system goes to a sleep state. This can make resume
times considerably shorter because these devices don't need to be
resumed when the system is awaken.
Signed-off-by: Tomeu Vizoso tomeu.viz
Have it return 1 so that media device nodes that are runtime-suspended
won't be suspended when the system goes to a sleep state. This can make
resume times considerably shorter because these devices don't need to be
resumed when the system is awaken.
Signed-off-by: Tomeu Vizoso tomeu.viz
-suspended devices unnecessarily),
which requires that a devices and all its descendants opt-in by having their
dev_pm_ops.prepare callback return 1, to have runtime PM enabled, and to be
runtime suspended when the system goes to a sleep state.
Thanks,
Tomeu
Tomeu Vizoso (6):
[media] uvcvideo
So UVC devices can remain runtime-suspended when the system goes into a
sleep state, they and all of their descendant devices need to have
runtime PM enable.
Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com
---
drivers/media/usb/uvc/uvc_driver.c | 4
drivers/media/usb/uvc/uvc_status.c
13 matches
Mail list logo