1. 04 Mar, 2014 26 commits
  2. 03 Mar, 2014 6 commits
    • Shuah Khan's avatar
      [media] em28xx: implement em28xx_usb_driver suspend, resume, reset_resume hooks · cd701c89
      Shuah Khan authored
      Implement em28xx_usb_driver suspend, resume, and reset_resume hooks.
      These hooks will invoke em28xx core em28xx_suspend_extension() and
      em28xx_resume_extension() to suspend and resume registered extensions.
      
      Approach:
      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.
      Signed-off-by: default avatarShuah Khan <shuah.kh@samsung.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      cd701c89
    • Shuah Khan's avatar
      [media] em28xx-video: implement em28xx_ops: suspend/resume hooks · a61f6811
      Shuah Khan authored
      Implement em28xx_ops: suspend/resume hooks. em28xx usb driver will
      invoke em28xx_ops: suspend and resume hooks for all its extensions
      from its suspend() and resume() interfaces.
      Signed-off-by: default avatarShuah Khan <shuah.kh@samsung.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      a61f6811
    • Shuah Khan's avatar
      [media] em28xx-input: implement em28xx_ops: suspend/resume hooks · 5025076a
      Shuah Khan authored
      Implement em28xx_ops: suspend/resume hooks. em28xx usb driver will
      invoke em28xx_ops: suspend and resume hooks for all its extensions
      from its suspend() and resume() interfaces.
      
      [m.chehab@samsung.com: Fix a breakage caused by calling a non-existing
       function call: schedule_delayed_work_sync(), and test if IR was defined
       at suspend/resume]
      Signed-off-by: default avatarShuah Khan <shuah.kh@samsung.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      5025076a
    • Shuah Khan's avatar
      [media] em28xx-dvb: implement em28xx_ops: suspend/resume hooks · ca2b46da
      Shuah Khan authored
      Implement em28xx_ops: suspend/resume hooks. em28xx usb driver will
      invoke em28xx_ops: suspend and resume hooks for all its extensions
      from its suspend() and resume() interfaces.
      Signed-off-by: default avatarShuah Khan <shuah.kh@samsung.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      ca2b46da
    • Shuah Khan's avatar
      [media] em28xx-audio: implement em28xx_ops: suspend/resume hooks · 6d746f91
      Shuah Khan authored
      Implement em28xx_ops: suspend/resume hooks. em28xx usb driver will
      invoke em28xx_ops: suspend and resume hooks for all its extensions
      from its suspend() and resume() interfaces.
      Signed-off-by: default avatarShuah Khan <shuah.kh@samsung.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      6d746f91
    • Shuah Khan's avatar
      [media] em28xx: add suspend/resume to em28xx_ops · 9c669b73
      Shuah Khan authored
      em28xx usb driver will have to suspend and resume its extensions. Adding
      suspend and resume to em28xx_ops gives extensions the ability to install
      suspend and resume that can be invoked from em28xx_usb driver suspend()
      and resume() interfaces.
      
      Approach:
      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.
      Signed-off-by: default avatarShuah Khan <shuah.kh@samsung.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      9c669b73
  3. 28 Feb, 2014 8 commits