Skip to content

RFC media: em28xx - power management support em28xx

Shuah Khan linux-media lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6media: em28xx - add suspend/resume to em28xx_opsdrivers/media/usb/em28xx/em28xx-core.c drivers/media/usb/em28xx/em28xx.h+32 -00 replies
2/6media: em28xx-audio - implement em28xx_ops: suspend/resume hooksdrivers/media/usb/em28xx/em28xx-audio.c+30 -00 replies
3/6media: em28xx-dvb - implement em28xx_ops: suspend/resume hooksdrivers/media/usb/em28xx/em28xx-dvb.c+57 -00 replies
4/6media: em28xx-input - implement em28xx_ops: suspend/resume hooksdrivers/media/usb/em28xx/em28xx-input.c+35 -02 replies
5/6media: em28xx-video - implement em28xx_ops: suspend/resume hooksdrivers/media/usb/em28xx/em28xx-video.c+28 -00 replies
6/6media: em28xx - implement em28xx_usb_driver suspend, resume, reset_resume hooksdrivers/media/usb/em28xx/em28xx-cards.c+26 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC] [PATCH 0/6] media: em28xx - power management support em28xx

Add power management support to em28xx usb driver. This driver works in conjunction with extensions for each of the functions on the USB device for video/audio/dvb/remote functionality that is present on media USB devices it supports. During suspend and resume each of these extensions will have to do their part in suspending the components they control.

Adding suspend and resume hooks to the existing struct em28xx_ops will enable the extensions the ability to implement suspend and resume hooks to be called from em28xx driver. The overall approach is as follows:

-- add suspend and resume hooks to em28xx_ops
-- add suspend and resume routines to em28xx-core to invoke suspend
and resume hooks for all registered extensions.
-- change em28xx dvb, audio, input, and video extensions to implement
em28xx_ops: suspend and resume hooks. These hooks do what is necessary to suspend and resume the devices they control.

Shuah Khan (6):
media: em28xx - add suspend/resume to em28xx_ops
media: em28xx-audio - implement em28xx_ops: suspend/resume hooks
media: em28xx-dvb - implement em28xx_ops: suspend/resume hooks
media: em28xx-input - implement em28xx_ops: suspend/resume hooks
media: em28xx-video - implement em28xx_ops: suspend/resume hooks
media: em28xx - implement em28xx_usb_driver suspend, resume,
reset_resume hooks

 drivers/media/usb/em28xx/em28xx-audio.c | 30 +++++++++++++++++
 drivers/media/usb/em28xx/em28xx-cards.c | 26 +++++++++++++++
 drivers/media/usb/em28xx/em28xx-core.c  | 28 ++++++++++++++++
 drivers/media/usb/em28xx/em28xx-dvb.c   | 57 +++++++++++++++++++++++++++++++++
 drivers/media/usb/em28xx/em28xx-input.c | 35 ++++++++++++++++++++
 drivers/media/usb/em28xx/em28xx-video.c | 28 ++++++++++++++++
 drivers/media/usb/em28xx/em28xx.h       |  4 +++
 7 files changed, 208 insertions(+)
Signature · 1 line
1.8.3.2