1. 24 5月, 2014 10 次提交
  2. 23 5月, 2014 3 次提交
  3. 23 4月, 2014 1 次提交
  4. 11 3月, 2014 1 次提交
  5. 05 3月, 2014 3 次提交
  6. 03 3月, 2014 1 次提交
    • S
      [media] em28xx: add suspend/resume to em28xx_ops · 9c669b73
      Shuah Khan 提交于
      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: NShuah Khan <shuah.kh@samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      9c669b73
  7. 15 1月, 2014 2 次提交
  8. 13 1月, 2014 1 次提交
  9. 12 1月, 2014 1 次提交
    • M
      [media] em28xx-audio: don't hardcode audio URB calculus · 1b3fd2d3
      Mauro Carvalho Chehab 提交于
      The current code hardcodes the number of audio URBs, the number
      of packets per URB and the maximum URB size.
      
      This is not a good idea, as it:
      
      - wastes more bandwidth than necessary, by using a very
        large number of packets;
      
      - those constants are bound to an specific scenario, with
        a bandwidth of 48 kHz;
      
      - don't take the maximum endpoint size into account;
      
      - with urb->interval = 1 on xHCI, those constraints cause a "funny"
        setup: URBs with 64 packets inside, with only 24 bytes total. E. g.
        a complete waste of space.
      
      Change the code to do dynamic URB audio calculus and allocation.
      
      For now, use the same constraints as used before this patch, to
      avoid regressions.
      
      A good scenario (tested) seems to use those defines, instead:
      
      	#define EM28XX_MAX_AUDIO_BUFS          8
      	#define EM28XX_MIN_AUDIO_PACKETS       2
      
      But let's not do such change here, letting the optimization to
      happen on latter patches, after more tests.
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      1b3fd2d3
  10. 10 1月, 2014 2 次提交
  11. 07 1月, 2014 3 次提交
  12. 05 1月, 2014 2 次提交
  13. 21 12月, 2013 1 次提交
  14. 19 12月, 2013 1 次提交
  15. 11 12月, 2013 6 次提交
  16. 31 10月, 2013 2 次提交