1. 11 1月, 2013 3 次提交
  2. 04 1月, 2013 1 次提交
    • G
      Drivers: media: remove __dev* attributes. · 4c62e976
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4c62e976
  3. 24 12月, 2012 1 次提交
    • R
      Partly revert "[media] uvcvideo: Set error_idx properly for extended controls API failures" · 9c016d61
      Rafael J. Wysocki 提交于
      Commit f0ed2ce8 ("[media] uvcvideo: Set error_idx properly for
      extended controls API failures") causes user space to behave incorrectly
      on one of my test machines (there is no sound under KDE 4.9.4 using
      pulseaudio and there is a knotify4 process occupying one of the CPU
      cores 100% of the time).  Reverting that commit entirely fixes the
      problem for me.
      
      However, commit f0ed2ce8 appears to do more than it follows from its
      changelog, because the changelog only says about the changes related to
      ctrls->error_idx, while the commit additionally changes error codes
      returned by various functions in uvc_ctrl.c and uvc_v4l2.c.  It turns
      out that the changes of the returned error codes confuse the user spce,
      so it is sufficient to revert the part of commit f0ed2ce8 not
      mentioned in its changelog to fix the problem.
      
      [ 'ENOENT' is not a valid error return from an ioctl to begin with, and
        I don't understand how anybody ever even thought it would be.  - Linus ]
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      Cc: Hans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9c016d61
  4. 22 12月, 2012 3 次提交
  5. 28 11月, 2012 9 次提交
  6. 26 11月, 2012 1 次提交
  7. 23 11月, 2012 2 次提交
  8. 22 11月, 2012 5 次提交
  9. 21 11月, 2012 5 次提交
  10. 09 11月, 2012 1 次提交
    • A
      [media] dvb_usb_v2: switch interruptible mutex to normal · 41269386
      Antti Palosaari 提交于
      Fixes error: dvb_usb_v2: pid_filter() failed=-4
      
      error code -4 is EINTR, Interrupted system call
      
      That error blocks I/O in some cases as -EINTR error was returned
      by the mutex which was protecting USB control messages. We want
      configure hardware to sleep mode on every case after tuning is
      stopped. That kind of behavior blocks it, leaving hardware some
      unwanted state in worst case.
      
      That error was seen every time when af9015 was plugged to USB1.1
      which leads use of hardware PID filters. Stop tuning (tzap) with
      ctrl+c failed as driver tries to remove hardware PID filters.
      
      Tested with every hardware which uses routine in question.
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      41269386
  11. 08 11月, 2012 1 次提交
  12. 07 11月, 2012 1 次提交
    • M
      [media] siano: fix RC compilation · 2c4e11b7
      Mauro Carvalho Chehab 提交于
      As reported by Antti and by Stephen:
      drivers/built-in.o: In function `sms_ir_event':
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:48: undefined reference to `ir_raw_event_store'
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:50: undefined reference to `ir_raw_event_handle'
      drivers/built-in.o: In function `sms_ir_init':
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:56: undefined reference to `smscore_get_board_id'
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:60: undefined reference to `rc_allocate_device'
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:72: undefined reference to `sms_get_board'
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:92: undefined reference to `sms_get_board'
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:97: undefined reference to `rc_register_device'
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:100: undefined reference to `rc_free_device'
      drivers/built-in.o: In function `sms_ir_exit':
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:111: undefined reference to `rc_unregister_device'
      make: *** [vmlinux] Error 1
      
      Caused by commit fdd1eeb4 "[media] siano: allow compiling it without RC support"
      And it happens when CONFIG_SMS_SIANO_RC=y and CONFIG_RC_CORE=m .
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Reported-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      2c4e11b7
  13. 29 10月, 2012 3 次提交
  14. 28 10月, 2012 4 次提交