1. 21 11月, 2015 1 次提交
  2. 11 11月, 2015 1 次提交
  3. 01 10月, 2015 1 次提交
  4. 08 4月, 2015 1 次提交
    • D
      [media] cx23885: Always initialise dev->slock spinlock · af7f388e
      David Howells 提交于
      The slock spinlock in the cx23885_dev struct is only initialised if analogue
      video is being used, but is used in other places too, leading to the attached
      lockdep complaint.
      
      Move the lock initialisation so that it is done unconditionally.
      
      INFO: trying to register non-static key.
      the code is fine but needs lockdep annotation.
      turning off the locking correctness validator.
      CPU: 1 PID: 4413 Comm: scandvb Tainted: G        W       4.0.0-rc1-fsdevel+ #25
      Hardware name: System manufacturer System Product Name/P5Q PRO TURBO, BIOS 0701    10/08/2012
       0000000000000000 ffff880129d779d8 ffffffff8162bbdf 0000000000000006
       0000000000000000 ffff880129d77aa8 ffffffff810780e3 0000000000000001
       0000000000000046 0000000000000004 ffffffff81c3f180 0000000000000000
      Call Trace:
       [<ffffffff8162bbdf>] dump_stack+0x4c/0x65
       [<ffffffff810780e3>] __lock_acquire+0x7b5/0x1a0e
       [<ffffffff810799ee>] lock_acquire+0x97/0x10c
       [<ffffffffa006494e>] ? cx23885_buf_queue+0x69/0x142 [cx23885]
       [<ffffffff8102e9bc>] ? amd_set_subcaches+0x19b/0x19b
       [<ffffffff816313b4>] _raw_spin_lock_irqsave+0x36/0x4a
       [<ffffffffa006494e>] ? cx23885_buf_queue+0x69/0x142 [cx23885]
       [<ffffffffa006494e>] cx23885_buf_queue+0x69/0x142 [cx23885]
       [<ffffffffa00662cb>] buffer_queue+0x17/0x19 [cx23885]
       [<ffffffffa00382d5>] __enqueue_in_driver+0x6a/0x6f [videobuf2_core]
       [<ffffffffa0038ead>] vb2_start_streaming+0x37/0x129 [videobuf2_core]
       [<ffffffffa003a6c0>] vb2_internal_streamon+0xc5/0x105 [videobuf2_core]
       [<ffffffffa003b889>] __vb2_init_fileio+0x224/0x286 [videobuf2_core]
       [<ffffffffa003bcc0>] ? vb2_thread_start+0x7b/0x15f [videobuf2_core]
       [<ffffffffa0050182>] ? vb2_dvb_start_feed+0x86/0x86 [videobuf2_dvb]
       [<ffffffffa003bd06>] vb2_thread_start+0xc1/0x15f [videobuf2_core]
       [<ffffffff8150d393>] ? dmx_section_feed_start_filtering+0x2f/0x14f
       [<ffffffffa0050157>] vb2_dvb_start_feed+0x5b/0x86 [videobuf2_dvb]
       [<ffffffff8150d461>] dmx_section_feed_start_filtering+0xfd/0x14f
       [<ffffffff8150afc7>] dvb_dmxdev_filter_start+0x23f/0x315
       [<ffffffff8150b6ad>] dvb_demux_do_ioctl+0x1fb/0x556
       [<ffffffff81509e94>] dvb_usercopy+0xb4/0x11c
       [<ffffffff8150b4b2>] ? dvb_dmxdev_ts_callback+0xd0/0xd0
       [<ffffffff8150a11a>] dvb_demux_ioctl+0x10/0x14
       [<ffffffff81144ac4>] do_vfs_ioctl+0x3c1/0x474
       [<ffffffff8126f181>] ? file_has_perm+0x5b/0x7f
       [<ffffffff810bf6ca>] ? __audit_syscall_entry+0xbc/0xde
       [<ffffffff81144bcc>] SyS_ioctl+0x55/0x7a
       [<ffffffff81631d52>] system_call_fastpath+0x12/0x17
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      af7f388e
  5. 22 1月, 2015 1 次提交
    • H
      [media] cx23885: fix free interrupt bug · 8d4d9329
      Hans Verkuil 提交于
      First free the interrupt, then disable the PCI device. The other way
      around will lead to this warning:
      
      Jan 19 11:42:02 telek kernel: [ 1440.161234] WARNING: CPU: 0 PID: 2191 at kernel/irq/manage.c:1311 __free_irq+0x97/0x1f0()
      Jan 19 11:42:02 telek kernel: [ 1440.161236] Trying to free already-free IRQ 0
      Jan 19 11:42:02 telek kernel: [ 1440.161237] Modules linked in: tda8290 tda10048 cx25840 cx23885(-) altera_ci tda18271 altera_stapl videobuf2_dvb tveeprom cx2341x videobuf2_dma_sg dvb_core rc_core videobuf2_memops videobuf2_core v4l2_common videodev media nouveau x86_pkg_temp_thermal cfbfillrect cfbimgblt cfbcopyarea ttm drm_kms_helper processor button isci
      Jan 19 11:42:02 telek kernel: [ 1440.161266] CPU: 0 PID: 2191 Comm: rmmod Tainted: G        W      3.19.0-rc1-telek #345
      Jan 19 11:42:02 telek kernel: [ 1440.161268] Hardware name: ASUSTeK COMPUTER INC. Z9PE-D8 WS/Z9PE-D8 WS, BIOS 5404 02/10/2014
      Jan 19 11:42:02 telek kernel: [ 1440.161270]  ffffffff81bf1fce ffff8808958b7cc8 ffffffff8194a97f 0000000000000000
      Jan 19 11:42:02 telek kernel: [ 1440.161274]  ffff8808958b7d18 ffff8808958b7d08 ffffffff810c56b0 0000000000000286
      Jan 19 11:42:02 telek kernel: [ 1440.161279]  0000000000000000 0000000000000000 ffff88089f808890 ffff88089f808800
      Jan 19 11:42:02 telek kernel: [ 1440.161284] Call Trace:
      Jan 19 11:42:02 telek kernel: [ 1440.161290]  [<ffffffff8194a97f>] dump_stack+0x4f/0x7b
      Jan 19 11:42:02 telek kernel: [ 1440.161295]  [<ffffffff810c56b0>] warn_slowpath_common+0x80/0xc0
      Jan 19 11:42:02 telek kernel: [ 1440.161299]  [<ffffffff810c5731>] warn_slowpath_fmt+0x41/0x50
      Jan 19 11:42:02 telek kernel: [ 1440.161303]  [<ffffffff81955d36>] ? _raw_spin_lock_irqsave+0x56/0x70
      Jan 19 11:42:02 telek kernel: [ 1440.161307]  [<ffffffff81114849>] ? __free_irq+0x49/0x1f0
      Jan 19 11:42:02 telek kernel: [ 1440.161311]  [<ffffffff81114897>] __free_irq+0x97/0x1f0
      Jan 19 11:42:02 telek kernel: [ 1440.161316]  [<ffffffff81114a88>] free_irq+0x48/0xd0
      Jan 19 11:42:02 telek kernel: [ 1440.161323]  [<ffffffffa00e6deb>] cx23885_finidev+0x4b/0x90 [cx23885]
      Jan 19 11:42:02 telek kernel: [ 1440.161329]  [<ffffffff814529fa>] pci_device_remove+0x3a/0xc0
      Jan 19 11:42:02 telek kernel: [ 1440.161334]  [<ffffffff8153b4ea>] __device_release_driver+0x7a/0xf0
      Jan 19 11:42:02 telek kernel: [ 1440.161338]  [<ffffffff8153bc98>] driver_detach+0xc8/0xd0
      Jan 19 11:42:02 telek kernel: [ 1440.161341]  [<ffffffff8153b1de>] bus_remove_driver+0x4e/0xb0
      Jan 19 11:42:02 telek kernel: [ 1440.161345]  [<ffffffff8153c2eb>] driver_unregister+0x2b/0x60
      Jan 19 11:42:02 telek kernel: [ 1440.161349]  [<ffffffff814525c5>] pci_unregister_driver+0x25/0x70
      Jan 19 11:42:02 telek kernel: [ 1440.161355]  [<ffffffffa00f6ddc>] cx23885_fini+0x10/0x12 [cx23885]
      Jan 19 11:42:02 telek kernel: [ 1440.161360]  [<ffffffff81139a98>] SyS_delete_module+0x1a8/0x1f0
      Jan 19 11:42:02 telek kernel: [ 1440.161364]  [<ffffffff819561a9>] system_call_fastpath+0x12/0x17
      Jan 19 11:42:02 telek kernel: [ 1440.161367] ---[ end trace a9c07cb5f3357020 ]---
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      8d4d9329
  6. 25 11月, 2014 2 次提交
  7. 22 11月, 2014 1 次提交
    • H
      [media] cx23885: use sg = sg_next(sg) instead of sg++ · 7675fe99
      Hans Verkuil 提交于
      The cx23885 driver still used sg++ instead of sg = sg_next(sg). This worked with
      vb1 since that filled in the sglist manually, page-by-page, but it fails with vb2
      which uses core scatterlist code that can combine contiguous scatterlist entries
      into one larger entry.
      
      This bug led to the following crash as reported by Mariusz:
      
      [20712.990258] BUG: Bad page state in process vb2-cx23885[0]  pfn:2ca34
      [20712.990265] page:ffffea00009c3b60 count:-1 mapcount:0 mapping:          (null) index:0x0
      [20712.990266] flags: 0x4000000000000000()
      [20712.990268] page dumped because: nonzero _count
      [20712.990269] Modules linked in: tun binfmt_misc nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables xt_mark xt_REDIRECT xt_limit xt_conntrack xt_nat xt_tcpudp iptable_mangle iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_filter ip_tables x_tables sit ip_tunnel nvidia(PO) stb6100 stv090x cx88_dvb videobuf_dvb cx88_vp3054_i2c tuner kvm_amd kvm cx8802 k10temp cx8800 cx88xx btcx_risc videobuf_dma_sg videobuf_core usb_storage ds2490 usbhid ftdi_sio cx23885 tveeprom cx2341x videobuf2_dvb videobuf2_core videobuf2_dma_sg videobuf2_memops asus_atk0110 snd_emu10k1 snd_hwdep snd_util_mem snd_ac97_codec ac97_bus snd_rawmidi snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd w1_therm wire ipv6
      [20712.990301] CPU: 2 PID: 26942 Comm: vb2-cx23885[0] Tainted: P    B   W  O   3.18.0-rc5-00001-gb3652d1 #2
      [20712.990303] Hardware name: System manufacturer System Product Name/M4A785TD-V EVO, BIOS 2105    07/23/2010
      [20712.990305]  ffffffff81765734 ffff880137683a78 ffffffff815b6b32 0000000000000006
      [20712.990307]  ffffea00009c3b60 ffff880137683aa8 ffffffff8108ec27 ffffffff81765712
      [20712.990309]  ffffffff8189c840 0000000000000246 ffffea00009c3b60 ffff880137683b78
      [20712.990312] Call Trace:
      [20712.990317]  [<ffffffff815b6b32>] dump_stack+0x46/0x58
      [20712.990321]  [<ffffffff8108ec27>] bad_page+0xe9/0x107
      [20712.990323]  [<ffffffff810912ca>] get_page_from_freelist+0x3b2/0x505
      [20712.990326]  [<ffffffff8109150a>] __alloc_pages_nodemask+0xed/0x65f
      [20712.990330]  [<ffffffff81047a52>] ? ttwu_do_activate.constprop.78+0x57/0x5c
      [20712.990332]  [<ffffffff81049ff3>] ? try_to_wake_up+0x21b/0x22d
      [20712.990336]  [<ffffffff810070f4>] dma_generic_alloc_coherent+0x6e/0xf5
      [20712.990339]  [<ffffffff810261a9>] gart_alloc_coherent+0x105/0x114
      [20712.990341]  [<ffffffff81025963>] ? flush_gart+0x39/0x3d
      [20712.990343]  [<ffffffff810260a4>] ? gart_map_sg+0x3a0/0x3a0
      [20712.990349]  [<ffffffffa0141a1e>] cx23885_risc_databuffer+0xa7/0x133 [cx23885]
      [20712.990354]  [<ffffffffa0142764>] cx23885_buf_prepare+0x121/0x134 [cx23885]
      [20712.990359]  [<ffffffffa0144210>] buffer_prepare+0x14/0x16 [cx23885]
      [20712.990363]  [<ffffffffa011f101>] __buf_prepare+0x190/0x279 [videobuf2_core]
      [20712.990366]  [<ffffffffa011d906>] ? vb2_queue_or_prepare_buf+0xb8/0xc0 [videobuf2_core]
      [20712.990369]  [<ffffffffa011f34b>] vb2_internal_qbuf+0x51/0x1e5 [videobuf2_core]
      [20712.990372]  [<ffffffffa0120537>] vb2_thread+0x199/0x1f6 [videobuf2_core]
      [20712.990376]  [<ffffffffa012039e>] ? vb2_fop_write+0xdf/0xdf [videobuf2_core]
      [20712.990379]  [<ffffffff81043e61>] kthread+0xdf/0xe7
      [20712.990381]  [<ffffffff81043d82>] ? kthread_create_on_node+0x16d/0x16d
      [20712.990384]  [<ffffffff815bd46c>] ret_from_fork+0x7c/0xb0
      [20712.990386]  [<ffffffff81043d82>] ? kthread_create_on_node+0x16d/0x16d
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Reported-by: NMariusz Bialonczyk <manio@skyboo.net>
      Tested-by: NMariusz Bialonczyk <manio@skyboo.net>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      7675fe99
  8. 22 9月, 2014 1 次提交
  9. 08 9月, 2014 2 次提交
    • H
      [media] cx23885: remove btcx-risc dependency · 4d63a25c
      Hans Verkuil 提交于
      It's just as easy to do it in the driver. This dependency only uses a
      fraction of the btcx-risc module and doing it directly in the driver
      adds only a few lines. The btcx-risc module is really meant for the
      bttv driver, not for other drivers.
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      4d63a25c
    • H
      [media] cx23885: convert to vb2 · 453afdd9
      Hans Verkuil 提交于
      As usual, this patch is very large due to the fact that half a vb2 conversion
      isn't possible. And since this affects 417, alsa, core, dvb, vbi and video the
      changes are all over.
      
      What made this more difficult was the peculiar way the risc program was setup.
      The driver allowed for running out of buffers in which case the DMA would stop
      and restart when the next buffer was queued. There was also a complicated
      timeout system for when buffers weren't filled. This was replaced by a much
      simpler scheme where there is always one buffer around and the DMA will just
      cycle that buffer until a new buffer is queued. In that case the previous
      buffer will be chained to the new buffer. An interrupt is generated at the
      start of the new buffer telling the driver that the previous buffer can be
      passed on to userspace.
      
      Much simpler and more robust. The old code seems to be copied from the
      cx88 driver. But it didn't fit the vb2 ops very well and replacing it with
      the new scheme made the code easier to understand. Not to mention that this
      patch removes 600 lines of code.
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      453afdd9
  10. 03 9月, 2014 2 次提交
  11. 17 10月, 2013 1 次提交
  12. 24 8月, 2013 1 次提交
  13. 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
  14. 21 12月, 2012 1 次提交
  15. 28 10月, 2012 1 次提交
    • M
      [media] cx23885: get rid of warning: no previous prototype · ada73eee
      Mauro Carvalho Chehab 提交于
      drivers/media/pci/cx23885/altera-ci.c:266:5: warning: no previous prototype for 'altera_ci_op_cam' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:301:5: warning: no previous prototype for 'altera_ci_read_attribute_mem' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:307:5: warning: no previous prototype for 'altera_ci_write_attribute_mem' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:313:5: warning: no previous prototype for 'altera_ci_read_cam_ctl' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:319:5: warning: no previous prototype for 'altera_ci_write_cam_ctl' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:325:5: warning: no previous prototype for 'altera_ci_slot_reset' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:368:5: warning: no previous prototype for 'altera_ci_slot_shutdown' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:374:5: warning: no previous prototype for 'altera_ci_slot_ts_ctl' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:451:5: warning: no previous prototype for 'altera_poll_ci_slot_status' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:462:6: warning: no previous prototype for 'altera_hw_filt_release' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:584:5: warning: no previous prototype for 'altera_pid_feed_control' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:606:5: warning: no previous prototype for 'altera_ci_start_feed' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:613:5: warning: no previous prototype for 'altera_ci_stop_feed' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:620:5: warning: no previous prototype for 'altera_ci_start_feed_1' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:625:5: warning: no previous prototype for 'altera_ci_stop_feed_1' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:630:5: warning: no previous prototype for 'altera_ci_start_feed_2' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:635:5: warning: no previous prototype for 'altera_ci_stop_feed_2' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/altera-ci.c:640:5: warning: no previous prototype for 'altera_hw_filt_init' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cimax2.c:123:5: warning: no previous prototype for 'netup_write_i2c' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cimax2.c:150:5: warning: no previous prototype for 'netup_ci_get_mem' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cimax2.c:169:5: warning: no previous prototype for 'netup_ci_op_cam' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cimax2.c:239:5: warning: no previous prototype for 'netup_ci_read_attribute_mem' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cimax2.c:245:5: warning: no previous prototype for 'netup_ci_write_attribute_mem' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cimax2.c:251:5: warning: no previous prototype for 'netup_ci_read_cam_ctl' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cimax2.c:257:5: warning: no previous prototype for 'netup_ci_write_cam_ctl' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cimax2.c:263:5: warning: no previous prototype for 'netup_ci_slot_reset' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cimax2.c:292:5: warning: no previous prototype for 'netup_ci_slot_shutdown' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cimax2.c:298:5: warning: no previous prototype for 'netup_ci_set_irq' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cimax2.c:319:5: warning: no previous prototype for 'netup_ci_slot_ts_ctl' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cimax2.c:375:5: warning: no previous prototype for 'netup_ci_slot_status' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cimax2.c:402:5: warning: no previous prototype for 'netup_poll_ci_slot_status' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cimax2.c:415:5: warning: no previous prototype for 'netup_ci_init' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cimax2.c:520:6: warning: no previous prototype for 'netup_ci_exit' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cimax2.c:90:5: warning: no previous prototype for 'netup_read_i2c' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23885-av.c:26:6: warning: no previous prototype for 'cx23885_av_work_handler' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23885-cards.c:1430:5: warning: no previous prototype for 'netup_jtag_io' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23885-core.c:306:6: warning: no previous prototype for 'cx23885_irq_add' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23885-dvb.c:662:5: warning: no previous prototype for 'netup_altera_fpga_rw' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23885-f300.c:150:5: warning: no previous prototype for 'f300_set_voltage' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23885-input.c:249:5: warning: no previous prototype for 'cx23885_input_init' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23885-input.c:353:6: warning: no previous prototype for 'cx23885_input_fini' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23885-input.c:76:6: warning: no previous prototype for 'cx23885_input_rx_work_handler' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23885-ioctl.c:134:5: warning: no previous prototype for 'cx23885_g_register' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23885-ioctl.c:185:5: warning: no previous prototype for 'cx23885_s_register' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23885-ioctl.c:27:5: warning: no previous prototype for 'cx23885_g_chip_ident' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23885-ir.c:101:6: warning: no previous prototype for 'cx23885_ir_tx_v4l2_dev_notify' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23885-ir.c:37:6: warning: no previous prototype for 'cx23885_ir_rx_work_handler' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23885-ir.c:60:6: warning: no previous prototype for 'cx23885_ir_tx_work_handler' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23885-ir.c:76:6: warning: no previous prototype for 'cx23885_ir_rx_v4l2_dev_notify' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23888-ir.c:1203:5: warning: no previous prototype for 'cx23888_ir_probe' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/cx23888-ir.c:1253:5: warning: no previous prototype for 'cx23888_ir_remove' [-Wmissing-prototypes]
      drivers/media/pci/cx23885/netup-init.c:109:6: warning: no previous prototype for 'netup_initialize' [-Wmissing-prototypes]
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      ada73eee
  16. 26 10月, 2012 1 次提交
  17. 16 8月, 2012 1 次提交
  18. 20 5月, 2012 1 次提交
  19. 05 1月, 2012 1 次提交
    • S
      [media] cx23885: Hauppauge HVR1850 Analog driver support · 35045137
      Steven Toth 提交于
      First in a series of patches that adds support to the cx23885 driver
      for CX23888 analog video handling. Raw and MPEG video support is
      being added for the HVR1850 driver in the patch, and the following
      series of patches.
      
      Some basic cx23885 driver cleanup. Partly to add HVR1850 support
      and partly to allow -417.c V4L2 calls to be routed through thr
      driver core and handled in a single place.
      
      Make a number of core driver functions available to the -417.c
      driver to streamline the driver.
      
      Add the analog tuner ops definition so we can reach/tune the
      hardware when we need to. Added the tff field so 888 based cards
      (which have a weird field ordering issue) can be accomodated
      and worked around in the driver.
      Signed-off-by: NSteven Toth <stoth@kernellabs.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      35045137
  20. 15 10月, 2011 4 次提交
  21. 28 7月, 2011 1 次提交
    • M
      [media] Stop using linux/version.h on most video drivers · 1990d50b
      Mauro Carvalho Chehab 提交于
      All the modified drivers didn't have any version increment since
      Jan, 1 2011. Several of them didn't have any version increment
      for a long time, even having new features and important bug fixes
      happening.
      
      As we're now filling the QUERYCAP version with the current Kernel
      Release, we don't need to maintain a per-driver version control
      anymore. So, let's just use the default.
      
      In order to preserve the Kernel module version history, a
      KERNEL_VERSION() macro were added to all modified drivers, and
      the extraver number were incremented.
      
      I opted to preserve the per-driver version control to a few
      pwc, pvrusb2, s2255, s5p-fimc and sh_vou.
      
      A few drivers are still using the legacy way to handle ioctl's.
      So, we can't do such change on them, otherwise, they'll break.
      Those are: uvc, et61x251 and sn9c102.
      
      The rationale is that the per-driver version control seems to be
      actively maintained on those.
      
      Yet, I think that the better for them would be to just use the
      default version numbering, instead of doing that by themselves.
      
      While here, removed a few uneeded include linux/version.h
      Acked-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      1990d50b
  22. 12 7月, 2011 1 次提交
  23. 20 5月, 2011 1 次提交
  24. 22 3月, 2011 4 次提交
  25. 21 10月, 2010 2 次提交
  26. 09 8月, 2010 4 次提交
  27. 03 8月, 2010 1 次提交