1. 22 7月, 2013 1 次提交
  2. 19 6月, 2013 1 次提交
    • S
      [media] media: dmxdev: remove dvb_ringbuffer_flush() on writer side · 414abbd2
      Soeren Moch 提交于
      In dvb_ringbuffer lock-less synchronizationof reader and writer threads is done
      with separateread and write pointers. Sincedvb_ringbuffer_flush() modifies the
      read pointer, this function must not be called from the writer thread.
      This patch removes the dvb_ringbuffer_flush() calls in the dmxdev ringbuffer
      write functions, this fixes Oopses "Unable to handle kernel paging request"
      I could observe for the call chaindvb_demux_read ->dvb_dmxdev_buffer_read ->
      dvb_ringbuffer_read_user -> __copy_to_user (the reader side of the ringbuffer).
      The flush calls at the write side are not necessary anyway since ringbuffer_flush
      is also called in dvb_dmxdev_buffer_read() when an error condition is set in the
      ringbuffer.
      This patch should also be applied to stable kernels.
      Signed-off-by: NSoeren Moch <smoch@web.de>
      CC: <stable@vger.kernel.org>
      Reviewed-by: NSakari Ailus <sakari.ailus@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      414abbd2
  3. 09 6月, 2013 2 次提交
    • A
      [media] Add support for Crypto Redi PC50A device (rtl2832u + FC0012 tuner) · c6be7526
      Alessandro Miceli 提交于
      The device has been tested on a MIPSel box with kernel 3.1.1 and backported media_tree drivers
      The kernel detects the device with the following output:
      usbcore: registered new interface driver dvb_usb_rtl28xxu
      usb 1-2: dvb_usb_v2: found a 'Crypto Redi PC50A' in warm state
      usb 1-2: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
      DVB: registering new adapter (Crypto Redi PC50A)
      usb 1-2: DVB: registering adapter 1 frontend 0 (Realtek RTL2832 (DVB-T))...
      i2c i2c-4: fc0012: Fitipower FC0012 successfully identified
      usb 1-2: dvb_usb_v2: 'Crypto Redi PC50A' successfully initialized and connected
      
      [crope@iki.fi: fix trivial merge conflict]
      Signed-off-by: NAlessandro Miceli <angelofsky1980@gmail.com>
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      c6be7526
    • A
      [media] Add support for 'Digital Dual TV Receiver CTVDIGDUAL v2 · a7fab851
      Alessandro Miceli 提交于
      Tested on a MIPSel box with 3.3.6 kernel
      The kernel output when the device will be detected follows:
      usbcore: registered new interface driver dvb_usb_it913x
      it913x: Chip Version=01 Chip Type=9135
      it913x: Remote propriety (raw) mode
      it913x: Dual mode=3 Tuner Type=38
      it913x: Chip Version=01 Chip Type=9135
      usb 2-1: dvb_usb_v2: found a 'Digital Dual TV Receiver CTVDIGDUAL_V2' in cold state
      usb 2-1: dvb_usb_v2: downloading firmware from file 'dvb-usb-it9137-01.fw'
      it913x: FRM Starting Firmware Download
      it913x: FRM Firmware Download Completed - Resetting Device
      it913x: Chip Version=01 Chip Type=9135
      it913x: Firmware Version 204147968
      usb 2-1: dvb_usb_v2: found a 'Digital Dual TV Receiver CTVDIGDUAL_V2' in warm state
      usb 2-1: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
      DVB: registering new adapter (Digital Dual TV Receiver CTVDIGDUAL_V2)
      it913x-fe: ADF table value      :00
      it913x-fe: Crystal Frequency :12000000 Adc Frequency :20250000 ADC X2: 00
      it913x-fe: Tuner LNA type :38
      usb 2-1: DVB: registering adapter 1 frontend 0 (Digital Dual TV Receiver CTVDIGDUAL_V2_1)...
      usb 2-1: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
      DVB: registering new adapter (Digital Dual TV Receiver CTVDIGDUAL_V2)
      it913x-fe: ADF table value      :00
      it913x-fe: Crystal Frequency :12000000 Adc Frequency :20250000 ADC X2: 00
      it913x-fe: Tuner LNA type :38
      usb 2-1: DVB: registering adapter 2 frontend 0 (Digital Dual TV Receiver CTVDIGDUAL_V2_2)...
      usb 2-1: dvb_usb_v2: 'Digital Dual TV Receiver CTVDIGDUAL_V2' successfully initialized and connected
      RC part not tested
      Signed-off-by: NAlessandro Miceli <angelofsky1980@gmail.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      a7fab851
  4. 30 4月, 2013 2 次提交
  5. 23 4月, 2013 1 次提交
  6. 15 4月, 2013 2 次提交
  7. 08 4月, 2013 1 次提交
    • M
      [media] demux.h: Remove duplicated enum · fde04ab9
      Mauro Carvalho Chehab 提交于
      "enum dmx_ts_pes" and "typedef enum dmx_pes_type_t" are just the
      same enum declared twice, since Kernel (2.6.12). There's no reason
      to duplicate it there, and sparse complains about that:
      	drivers/media/dvb-core/dmxdev.c:600:55: warning: mixing different enum types
      So, remove the internal define, keeping just the external one.
      Internally, use only "enum dmx_ts_pes", as it is too late to drop
      dmx_pes_type_t from the userspace API.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      fde04ab9
  8. 28 3月, 2013 1 次提交
    • S
      net: add ETH_P_802_3_MIN · e5c5d22e
      Simon Horman 提交于
      Add a new constant ETH_P_802_3_MIN, the minimum ethernet type for
      an 802.3 frame. Frames with a lower value in the ethernet type field
      are Ethernet II.
      
      Also update all the users of this value that David Miller and
      I could find to use the new constant.
      
      Also correct a bug in util.c. The comparison with ETH_P_802_3_MIN
      should be >= not >.
      
      As suggested by Jesse Gross.
      
      Compile tested only.
      
      Cc: David Miller <davem@davemloft.net>
      Cc: Jesse Gross <jesse@nicira.com>
      Cc: Karsten Keil <isdn@linux-pingi.de>
      Cc: John W. Linville <linville@tuxdriver.com>
      Cc: Johannes Berg <johannes@sipsolutions.net>
      Cc: Bart De Schuymer <bart.de.schuymer@pandora.be>
      Cc: Stephen Hemminger <stephen@networkplumber.org>
      Cc: Patrick McHardy <kaber@trash.net>
      Cc: Marcel Holtmann <marcel@holtmann.org>
      Cc: Gustavo Padovan <gustavo@padovan.org>
      Cc: Johan Hedberg <johan.hedberg@gmail.com>
      Cc: linux-bluetooth@vger.kernel.org
      Cc: netfilter-devel@vger.kernel.org
      Cc: bridge@lists.linux-foundation.org
      Cc: linux-wireless@vger.kernel.org
      Cc: linux1394-devel@lists.sourceforge.net
      Cc: linux-media@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Cc: dev@openvswitch.org
      Acked-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      Acked-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      Signed-off-by: NSimon Horman <horms@verge.net.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e5c5d22e
  9. 21 3月, 2013 1 次提交
  10. 20 3月, 2013 1 次提交
  11. 19 3月, 2013 2 次提交
  12. 05 3月, 2013 1 次提交
    • M
      [media] mb86a20s: change AGC tuning parameters · 17e67d4c
      Mauro Carvalho Chehab 提交于
      Use the AGC settings present on a newer device.
      The initial settings were taken from one of the first devices with
      mb86a20s, and there are several reports that this is not working
      properly on some places.
      So, instead of keeping using it, get the parameters taken from a
      newer device. Tests are welcomed.
      Tested also with cx231xx PixelView SBTVD Hybrid with no regressions
      noticed so far.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      17e67d4c
  13. 16 2月, 2013 1 次提交
  14. 14 2月, 2013 1 次提交
    • C
      [media] media: Add 0x3009 USB PID to ttusb2 driver (fixed diff) · ed72d37a
      Christoph Nuscheler 提交于
      The "Technisat SkyStar USB plus" is a TT-connect S-2400 clone, which the
      V4L-DVB drivers already support. However, some of these devices (like
      mine) come with a different USB PID 0x3009 instead of 0x3006.
      
      There have already been patches simply overwriting the USB PID in
      dvb-usb-ids.h. Of course these patches were rejected because they would
      have disabled the 0x3006 PID.
      
      This new patch adds the 0x3009 PID to dvb-usb-ids.h, and adds references
      to it within the ttusb2.c driver. PID 0x3006 devices will continue to work.
      
      The only difference between the two hardware models seems to be the
      EEPROM chip. In fact, Windows BDA driver names the 0x3009 device with a
      "(8 kB EEPROM)" suffix. In spite of that, the 0x3009 device works
      absolutely flawlessly using the existing ttusb2 driver.
      Signed-off-by: NChristoph Nuscheler <christoph.nuscheler@t-online.de>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      ed72d37a
  15. 24 1月, 2013 2 次提交
  16. 06 1月, 2013 1 次提交
  17. 28 12月, 2012 5 次提交
  18. 28 11月, 2012 1 次提交
  19. 28 10月, 2012 2 次提交
    • M
      [media] dmxdev: fix a comparition of unsigned expression warning · 31becf09
      Mauro Carvalho Chehab 提交于
      drivers/media/dvb-core/dmxdev.c: In function 'dvb_dmxdev_pes_filter_set':
      drivers/media/dvb-core/dmxdev.c:880:2: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      31becf09
    • M
      [media] dvb_frontend: Don't declare values twice at a table · e6ea0b91
      Mauro Carvalho Chehab 提交于
      drivers/media/dvb-core/dvb_frontend.c:1032:2: warning: initialized field overwritten [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1032:2: warning: (near initialization for 'dtv_cmds[36]') [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1033:2: warning: initialized field overwritten [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1033:2: warning: (near initialization for 'dtv_cmds[37]') [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1034:2: warning: initialized field overwritten [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1034:2: warning: (near initialization for 'dtv_cmds[38]') [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1035:2: warning: initialized field overwritten [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1035:2: warning: (near initialization for 'dtv_cmds[39]') [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1036:2: warning: initialized field overwritten [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1036:2: warning: (near initialization for 'dtv_cmds[40]') [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1037:2: warning: initialized field overwritten [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1037:2: warning: (near initialization for 'dtv_cmds[60]') [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1045:2: warning: initialized field overwritten [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1045:2: warning: (near initialization for 'dtv_cmds[46]') [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1051:2: warning: initialized field overwritten [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1051:2: warning: (near initialization for 'dtv_cmds[52]') [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1060:2: warning: initialized field overwritten [-Woverride-init]
      drivers/media/dvb-core/dvb_frontend.c:1060:2: warning: (near initialization for 'dtv_cmds[61]') [-Woverride-init]
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      e6ea0b91
  20. 19 10月, 2012 1 次提交
  21. 07 10月, 2012 2 次提交
  22. 28 9月, 2012 3 次提交
  23. 24 9月, 2012 3 次提交
  24. 18 9月, 2012 1 次提交
  25. 16 9月, 2012 1 次提交