* Re: [PATCH 2/2] media: uvcvideo: skip resume when writing hibernation image
[not found] <20260428091356.GF3219146@killaraus.ideasonboard.com>
@ 2026-04-29 1:15 ` Haowen Tu
2026-04-29 1:16 ` Haowen Tu
1 sibling, 0 replies; 2+ messages in thread
From: Haowen Tu @ 2026-04-29 1:15 UTC (permalink / raw)
To: laurent.pinchart
Cc: gregkh, linux-usb, hansg, mchehab, rafael, lenb, pavel, linux-pm,
linux-media, linux-kernel, Haowen Tu
Hi Laurent,
On Tue, Apr 28, 2026 at 12:13:56PM +0300, Laurent Pinchart wrote:
> Will all leaf drivers need to implement something similar ? How does
> that scale ?
Thanks, that's a very valid concern.
If this pattern ends up being needed in multiple USB interface drivers,
then handling it in each leaf driver would clearly not scale well.
My initial motivation was that the UVC streaming resume path is reached
from usb_driver.resume(), which doesn't expose the hibernation PM
message. As a result, the driver has no way to distinguish PMSG_THAW
from PMSG_RESTORE locally.
That said, I agree this points to a USB-level design question rather
than just a UVC-specific one. I'll revisit the approach with that in
mind, and will include the USB maintainers and list in the next round.
Thanks,
Haowen
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 2/2] media: uvcvideo: skip resume when writing hibernation image
[not found] <20260428091356.GF3219146@killaraus.ideasonboard.com>
2026-04-29 1:15 ` [PATCH 2/2] media: uvcvideo: skip resume when writing hibernation image Haowen Tu
@ 2026-04-29 1:16 ` Haowen Tu
1 sibling, 0 replies; 2+ messages in thread
From: Haowen Tu @ 2026-04-29 1:16 UTC (permalink / raw)
To: laurent.pinchart
Cc: gregkh, linux-usb, hansg, mchehab, rafael, lenb, pavel, linux-pm,
linux-media, linux-kernel, Haowen Tu
Hi Laurent,
On Tue, Apr 28, 2026 at 12:13:56PM +0300, Laurent Pinchart wrote:
> Will all leaf drivers need to implement something similar ? How does
> that scale ?
Thanks, that's a very valid concern.
If this pattern ends up being needed in multiple USB interface drivers,
then handling it in each leaf driver would clearly not scale well.
My initial motivation was that the UVC streaming resume path is reached
from usb_driver.resume(), which doesn't expose the hibernation PM
message. As a result, the driver has no way to distinguish PMSG_THAW
from PMSG_RESTORE locally.
That said, I agree this points to a USB-level design question rather
than just a UVC-specific one. I'll revisit the approach with that in
mind, and will include the USB maintainers and list in the next round.
Thanks,
Haowen
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-29 1:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20260428091356.GF3219146@killaraus.ideasonboard.com>
2026-04-29 1:15 ` [PATCH 2/2] media: uvcvideo: skip resume when writing hibernation image Haowen Tu
2026-04-29 1:16 ` Haowen Tu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox