1. 09 6月, 2013 3 次提交
  2. 27 5月, 2013 3 次提交
    • L
      [media] media: usb: remove duplicate checks for EPERM in vidioc_g/s_register · 625b3522
      Lad, Prabhakar 提交于
      This patch removes check for EPERM in vidioc_g/s_register
      as this check is already performed by core.
      Signed-off-by: NLad, Prabhakar <prabhakar.csengg@gmail.com>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      625b3522
    • L
      [media] hdpvr: Removed unnecessary use of kzalloc() in get_video_info() · 4d601c4c
      Leonid Kegulskiy 提交于
      [mchehab@redhat.com: CodingStyle fixes]
      Signed-off-by: NLeonid Kegulskiy <leo@lumanate.com>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      4d601c4c
    • R
      [media] media: fix hdpvr kconfig/build errors · 99119595
      Randy Dunlap 提交于
      Fix hdpvr build errors when CONFIG_I2C=m and VIDEO_V4L2=m and
      VIDEO_HDPVR=y.
      drivers/built-in.o: In function `hdpvr_disconnect':
      hdpvr-core.c:(.text+0xef542): undefined reference to `v4l2_device_disconnect'
      hdpvr-core.c:(.text+0xef57e): undefined reference to `i2c_del_adapter'
      hdpvr-core.c:(.text+0xef58a): undefined reference to `video_unregister_device'
      drivers/built-in.o: In function `hdpvr_delete':
      (.text+0xef5b9): undefined reference to `video_device_release'
      drivers/built-in.o: In function `hdpvr_probe':
      hdpvr-core.c:(.text+0xef63a): undefined reference to `v4l2_device_register'
      hdpvr-core.c:(.text+0xefd97): undefined reference to `i2c_del_adapter'
      drivers/built-in.o: In function `hdpvr_s_ctrl':
      hdpvr-video.c:(.text+0xf03c0): undefined reference to `v4l2_ctrl_activate'
      drivers/built-in.o: In function `hdpvr_device_release':
      hdpvr-video.c:(.text+0xf0470): undefined reference to `v4l2_device_unregister'
      hdpvr-video.c:(.text+0xf0479): undefined reference to `v4l2_ctrl_handler_free'
      hdpvr-video.c:(.text+0xf048f): undefined reference to `i2c_del_adapter'
      drivers/built-in.o: In function `hdpvr_open':
      hdpvr-video.c:(.text+0xf0570): undefined reference to `video_devdata'
      hdpvr-video.c:(.text+0xf057b): undefined reference to `v4l2_fh_init'
      hdpvr-video.c:(.text+0xf0583): undefined reference to `v4l2_fh_add'
      drivers/built-in.o: In function `video_drvdata':
      hdpvr-video.c:(.text+0xf08a0): undefined reference to `video_devdata'
      drivers/built-in.o: In function `vidioc_s_dv_timings':
      hdpvr-video.c:(.text+0xf0d34): undefined reference to `v4l_match_dv_timings'
      drivers/built-in.o: In function `hdpvr_poll':
      hdpvr-video.c:(.text+0xf1455): undefined reference to `v4l2_ctrl_poll'
      drivers/built-in.o: In function `hdpvr_release':
      hdpvr-video.c:(.text+0xf18f6): undefined reference to `v4l2_fh_release'
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1be3): undefined reference to `v4l2_ctrl_handler_init_class'
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1c19): undefined reference to `v4l2_ctrl_new_std'
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1c42): undefined reference to `v4l2_ctrl_new_std'
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1c6b): undefined reference to `v4l2_ctrl_new_std'
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1cac): undefined reference to `v4l2_ctrl_new_std'
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1cd5): undefined reference to `v4l2_ctrl_new_std'
      drivers/built-in.o:(.text+0xf1cfe): more undefined references to `v4l2_ctrl_new_std' follow
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1d75): undefined reference to `v4l2_ctrl_new_std_menu'
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1d9e): undefined reference to `v4l2_ctrl_new_std_menu'
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1dc3): undefined reference to `v4l2_ctrl_new_std_menu'
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1de5): undefined reference to `v4l2_ctrl_new_std_menu'
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1e18): undefined reference to `v4l2_ctrl_new_std'
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1e4b): undefined reference to `v4l2_ctrl_new_std'
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1e90): undefined reference to `v4l2_ctrl_cluster'
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1e98): undefined reference to `v4l2_ctrl_handler_setup'
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1ec1): undefined reference to `video_device_alloc'
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1f85): undefined reference to `__video_register_device'
      drivers/built-in.o: In function `hdpvr_register_videodev':
      (.text+0xf1fac): undefined reference to `v4l2_ctrl_handler_free'
      drivers/built-in.o: In function `hdpvr_register_ir_tx_i2c':
      (.text+0xf238f): undefined reference to `i2c_new_device'
      drivers/built-in.o: In function `hdpvr_register_ir_rx_i2c':
      (.text+0xf2434): undefined reference to `i2c_new_device'
      drivers/built-in.o: In function `hdpvr_register_i2c_adapter':
      (.text+0xf2514): undefined reference to `i2c_add_adapter'
      drivers/built-in.o:(.rodata+0x1b368): undefined reference to `video_ioctl2'
      drivers/built-in.o:(.rodata+0x1b690): undefined reference to `v4l2_ctrl_log_status'
      drivers/built-in.o:(.rodata+0x1b6f8): undefined reference to `v4l2_ctrl_subscribe_event'
      drivers/built-in.o:(.rodata+0x1b700): undefined reference to `v4l2_event_unsubscribe'
      Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      99119595
  3. 21 5月, 2013 5 次提交
    • R
      [media] stb0899: remove commented value from IQ_SWAP_ON/OFF usages · 0735647c
      Reinhard Nissl 提交于
      As the enum values have changed recently, the comments are void.
      Signed-off-by: NReinhard Nißl <rnissl@gmx.de>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      0735647c
    • R
      [media] media/usb: fix kconfig dependencies · a0f9354b
      Randy Dunlap 提交于
      (a.k.a. Kconfig bool depending on a tristate considered harmful)
      Fix various build errors when CONFIG_USB=m and media USB drivers
      are builtin.  In this case, CONFIG_USB_ZR364XX=y,
      CONFIG_VIDEO_PVRUSB2=y, and CONFIG_VIDEO_STK1160=y.
      This is caused by (from drivers/media/usb/Kconfig):
      menuconfig MEDIA_USB_SUPPORT
      	bool "Media USB Adapters"
      	depends on USB && MEDIA_SUPPORT
      	           =m     =y
      so MEDIA_USB_SUPPORT=y and all following Kconfig 'source' lines
      are included.  By adding an "if USB" guard around most of this file,
      the needed dependencies are enforced.
      drivers/built-in.o: In function `zr364xx_start_readpipe':
      zr364xx.c:(.text+0xc726a): undefined reference to `usb_alloc_urb'
      zr364xx.c:(.text+0xc72bb): undefined reference to `usb_submit_urb'
      drivers/built-in.o: In function `zr364xx_stop_readpipe':
      zr364xx.c:(.text+0xc72fd): undefined reference to `usb_kill_urb'
      zr364xx.c:(.text+0xc7309): undefined reference to `usb_free_urb'
      drivers/built-in.o: In function `read_pipe_completion':
      zr364xx.c:(.text+0xc7acc): undefined reference to `usb_submit_urb'
      drivers/built-in.o: In function `send_control_msg.constprop.12':
      zr364xx.c:(.text+0xc7d2f): undefined reference to `usb_control_msg'
      drivers/built-in.o: In function `pvr2_ctl_timeout':
      pvrusb2-hdw.c:(.text+0xcadb6): undefined reference to `usb_unlink_urb'
      pvrusb2-hdw.c:(.text+0xcadcb): undefined reference to `usb_unlink_urb'
      drivers/built-in.o: In function `pvr2_hdw_create':
      (.text+0xcc42c): undefined reference to `usb_alloc_urb'
      drivers/built-in.o: In function `pvr2_hdw_create':
      (.text+0xcc448): undefined reference to `usb_alloc_urb'
      drivers/built-in.o: In function `pvr2_hdw_create':
      (.text+0xcc5f9): undefined reference to `usb_set_interface'
      drivers/built-in.o: In function `pvr2_hdw_create':
      (.text+0xcc65a): undefined reference to `usb_free_urb'
      drivers/built-in.o: In function `pvr2_hdw_create':
      (.text+0xcc666): undefined reference to `usb_free_urb'
      drivers/built-in.o: In function `pvr2_send_request_ex.part.22':
      pvrusb2-hdw.c:(.text+0xccbe3): undefined reference to `usb_submit_urb'
      pvrusb2-hdw.c:(.text+0xccc83): undefined reference to `usb_submit_urb'
      drivers/built-in.o: In function `pvr2_hdw_remove_usb_stuff.part.25':
      pvrusb2-hdw.c:(.text+0xcd3f9): undefined reference to `usb_kill_urb'
      pvrusb2-hdw.c:(.text+0xcd405): undefined reference to `usb_free_urb'
      pvrusb2-hdw.c:(.text+0xcd421): undefined reference to `usb_kill_urb'
      pvrusb2-hdw.c:(.text+0xcd42d): undefined reference to `usb_free_urb'
      drivers/built-in.o: In function `pvr2_hdw_device_reset':
      (.text+0xcd658): undefined reference to `usb_lock_device_for_reset'
      drivers/built-in.o: In function `pvr2_hdw_device_reset':
      (.text+0xcd664): undefined reference to `usb_reset_device'
      drivers/built-in.o: In function `pvr2_hdw_cpureset_assert':
      (.text+0xcd6f9): undefined reference to `usb_control_msg'
      drivers/built-in.o: In function `pvr2_hdw_cpufw_set_enabled':
      (.text+0xcd84e): undefined reference to `usb_control_msg'
      drivers/built-in.o: In function `pvr2_upload_firmware1':
      pvrusb2-hdw.c:(.text+0xcda47): undefined reference to `usb_clear_halt'
      pvrusb2-hdw.c:(.text+0xcdb04): undefined reference to `usb_control_msg'
      drivers/built-in.o: In function `pvr2_upload_firmware2':
      (.text+0xce7dc): undefined reference to `usb_bulk_msg'
      drivers/built-in.o: In function `pvr2_stream_buffer_count':
      pvrusb2-io.c:(.text+0xd2e05): undefined reference to `usb_alloc_urb'
      pvrusb2-io.c:(.text+0xd2e5b): undefined reference to `usb_kill_urb'
      pvrusb2-io.c:(.text+0xd2e9f): undefined reference to `usb_free_urb'
      drivers/built-in.o: In function `pvr2_stream_internal_flush':
      pvrusb2-io.c:(.text+0xd2f9b): undefined reference to `usb_kill_urb'
      drivers/built-in.o: In function `pvr2_buffer_queue':
      (.text+0xd3328): undefined reference to `usb_kill_urb'
      drivers/built-in.o: In function `pvr2_buffer_queue':
      (.text+0xd33ea): undefined reference to `usb_submit_urb'
      drivers/built-in.o: In function `stk1160_read_reg':
      (.text+0xd3efa): undefined reference to `usb_control_msg'
      drivers/built-in.o: In function `stk1160_write_reg':
      (.text+0xd3f4f): undefined reference to `usb_control_msg'
      drivers/built-in.o: In function `stop_streaming':
      stk1160-v4l.c:(.text+0xd4997): undefined reference to `usb_set_interface'
      drivers/built-in.o: In function `start_streaming':
      stk1160-v4l.c:(.text+0xd4a9f): undefined reference to `usb_set_interface'
      stk1160-v4l.c:(.text+0xd4afa): undefined reference to `usb_submit_urb'
      stk1160-v4l.c:(.text+0xd4ba3): undefined reference to `usb_set_interface'
      drivers/built-in.o: In function `stk1160_isoc_irq':
      stk1160-video.c:(.text+0xd509b): undefined reference to `usb_submit_urb'
      drivers/built-in.o: In function `stk1160_cancel_isoc':
      (.text+0xd50ef): undefined reference to `usb_kill_urb'
      drivers/built-in.o: In function `stk1160_free_isoc':
      (.text+0xd5155): undefined reference to `usb_free_coherent'
      drivers/built-in.o: In function `stk1160_free_isoc':
      (.text+0xd515d): undefined reference to `usb_free_urb'
      drivers/built-in.o: In function `stk1160_alloc_isoc':
      (.text+0xd5278): undefined reference to `usb_alloc_urb'
      drivers/built-in.o: In function `stk1160_alloc_isoc':
      (.text+0xd52c2): undefined reference to `usb_alloc_coherent'
      drivers/built-in.o: In function `stk1160_alloc_isoc':
      (.text+0xd53c4): undefined reference to `usb_free_urb'
      drivers/built-in.o: In function `zr364xx_driver_init':
      zr364xx.c:(.init.text+0x463e): undefined reference to `usb_register_driver'
      drivers/built-in.o: In function `pvr_init':
      pvrusb2-main.c:(.init.text+0x4662): undefined reference to `usb_register_driver'
      drivers/built-in.o: In function `stk1160_usb_driver_init':
      stk1160-core.c:(.init.text+0x467d): undefined reference to `usb_register_driver'
      drivers/built-in.o: In function `zr364xx_driver_exit':
      zr364xx.c:(.exit.text+0x1377): undefined reference to `usb_deregister'
      drivers/built-in.o: In function `pvr_exit':
      pvrusb2-main.c:(.exit.text+0x1389): undefined reference to `usb_deregister'
      drivers/built-in.o: In function `stk1160_usb_driver_exit':
      stk1160-core.c:(.exit.text+0x13a0): undefined reference to `usb_deregister'
      Suggested-by: N"Yann E. MORIN" <yann.morin.1998@free.fr>
      Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      a0f9354b
    • L
    • L
    • J
      [media] em28xx: Add support for 1b80:e1cc Delock 61959 · 7c1dfdb0
      Jakob Haufe 提交于
      Hardware is the same as MaxMedia UB425-TC but ships with a different
      remote.
      Signed-off-by: NJakob Haufe <sur5r@sur5r.net>
      Reviewed-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      7c1dfdb0
  4. 28 4月, 2013 1 次提交
    • M
      [media] em28xx: fix oops at em28xx_dvb_bus_ctrl() · a3b60209
      Mauro Carvalho Chehab 提交于
      em28xx is oopsing with some DVB devices:
      
      [10856.061884] general protection fault: 0000 [#1] SMP
      [10856.067041] Modules linked in: rc_hauppauge em28xx_rc xc5000 drxk em28xx_dvb dvb_core em28xx videobuf2_vmalloc videobuf2_memops videobuf2_core rc_pixelview_new tuner_xc2028 tuner cx8800 cx88xx tveeprom btcx_risc videobuf_dma_sg videobuf_core rc_core v4l2_common videodev ebtable_nat ebtables nf_conntrack_ipv4 nf_defrag_ipv4 xt_CHECKSUM be2iscsi iscsi_boot_sysfs iptable_mangle bnx2i cnic uio cxgb4i cxgb4 tun bridge cxgb3i cxgb3 stp ip6t_REJECT mdio libcxgbi nf_conntrack_ipv6 llc nf_defrag_ipv6 ib_iser rdma_cm ib_addr xt_conntrack iw_cm ib_cm ib_sa nf_conntrack ib_mad ib_core bnep bluetooth iscsi_tcp libiscsi_tcp ip6table_filter libiscsi ip6_tables scsi_transport_iscsi xfs libcrc32c snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm tg3 snd_page_alloc snd_timer
      [10856.139176]  snd ptp iTCO_wdt soundcore pps_core iTCO_vendor_support lpc_ich mfd_core coretemp nfsd hp_wmi crc32c_intel microcode serio_raw rfkill sparse_keymap nfs_acl lockd sunrpc kvm_intel kvm uinput binfmt_misc firewire_ohci nouveau mxm_wmi i2c_algo_bit drm_kms_helper firewire_core crc_itu_t ttm drm i2c_core wmi [last unloaded: dib0070]
      [10856.168969] CPU 1
      [10856.170799] Pid: 13606, comm: dvbv5-zap Not tainted 3.9.0-rc5+ #26 Hewlett-Packard HP Z400 Workstation/0AE4h
      [10856.181187] RIP: 0010:[<ffffffffa0459e47>]  [<ffffffffa0459e47>] em28xx_write_regs_req+0x37/0x1c0 [em28xx]
      [10856.191028] RSP: 0018:ffff880118401a58  EFLAGS: 00010282
      [10856.196533] RAX: 00020000012d0000 RBX: ffff88010804aec8 RCX: ffff880118401b14
      [10856.203852] RDX: 0000000000000048 RSI: 0000000000000000 RDI: ffff88010804aec8
      [10856.211174] RBP: ffff880118401ac8 R08: 0000000000000001 R09: 0000000000000000
      [10856.218496] R10: 0000000000000000 R11: 0000000000000006 R12: 0000000000000048
      [10856.226026] R13: ffff880118401b14 R14: ffff88011752b258 R15: ffff88011752b258
      [10856.233352] FS:  00007f26636d2740(0000) GS:ffff88011fc20000(0000) knlGS:0000000000000000
      [10856.241626] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
      [10856.247565] CR2: 00007f2663716e20 CR3: 00000000c7eb1000 CR4: 00000000000007e0
      [10856.254889] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
      [10856.262215] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
      [10856.269542] Process dvbv5-zap (pid: 13606, threadinfo ffff880118400000, task ffff8800cd625d40)
      [10856.278340] Stack:
      [10856.280564]  ffff88011ffe8de8 0000000000000002 0000000000000000 ffff88011ffe9b00
      [10856.288191]  ffff880118401b14 00ff88011ffe9b08 ffff880100000048 ffffffff8112a52a
      [10856.295893]  0000000000000001 ffff88010804aec8 0000000000000048 ffff880118401b14
      [10856.303521] Call Trace:
      [10856.306182]  [<ffffffff8112a52a>] ? __alloc_pages_nodemask+0x15a/0x960
      [10856.312912]  [<ffffffffa045a002>] em28xx_write_regs+0x32/0xa0 [em28xx]
      [10856.319638]  [<ffffffffa045a221>] em28xx_write_reg+0x21/0x30 [em28xx]
      [10856.326279]  [<ffffffffa045a2cc>] em28xx_gpio_set+0x9c/0x100 [em28xx]
      [10856.332919]  [<ffffffffa045a3ac>] em28xx_set_mode+0x7c/0x80 [em28xx]
      [10856.339472]  [<ffffffffa03ef032>] em28xx_dvb_bus_ctrl+0x32/0x40 [em28xx_dvb]
      
      This is caused by commit c7a45e5b,
      that added support for two I2C buses. A partial fix was applied
      at 3de09fbb, but it doesn't cover
      all cases, as the DVB core fills fe->dvb->priv with adapter->priv.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      a3b60209
  5. 25 4月, 2013 3 次提交
  6. 23 4月, 2013 4 次提交
  7. 22 4月, 2013 1 次提交
  8. 17 4月, 2013 4 次提交
  9. 15 4月, 2013 16 次提交