1. 06 9月, 2016 1 次提交
  2. 24 8月, 2016 1 次提交
  3. 06 8月, 2016 1 次提交
  4. 25 4月, 2016 1 次提交
  5. 22 4月, 2016 1 次提交
  6. 18 11月, 2015 1 次提交
  7. 01 5月, 2015 1 次提交
    • M
      [media] cx231xx: fix bad indenting · 69626853
      Mauro Carvalho Chehab 提交于
      drivers/media/usb/cx231xx/cx231xx-avcore.c:1598 cx231xx_set_DIF_bandpass() warn: inconsistent indenting
      drivers/media/usb/cx231xx/cx231xx-core.c:656 cx231xx_demod_reset() warn: inconsistent indenting
      drivers/media/usb/cx231xx/cx231xx-core.c:659 cx231xx_demod_reset() warn: inconsistent indenting
      drivers/media/usb/cx231xx/cx231xx-core.c:664 cx231xx_demod_reset() warn: inconsistent indenting
      drivers/media/usb/cx231xx/cx231xx-core.c:669 cx231xx_demod_reset() warn: inconsistent indenting
      drivers/media/usb/cx231xx/cx231xx-core.c:673 cx231xx_demod_reset() warn: inconsistent indenting
      drivers/media/usb/cx231xx/cx231xx-417.c:1164 cx231xx_initialize_codec() warn: inconsistent indenting
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      69626853
  8. 03 3月, 2015 1 次提交
  9. 04 11月, 2014 6 次提交
    • M
      [media] cx231xx: Improve the log message · 336fea92
      Mauro Carvalho Chehab 提交于
      Unfortunately, on devices that have multiple interfaces, udev->dev
      points to the parent device (usb) instead of the cx231xx specific one.
      
      Due to that the logs don't look too nice, as they'll print messages
      as if they were produced by USB core:
        usb-1-2: New device Conexant Corporation Polaris AV Capturb @ 480 Mbps (1554:5010) with 7 interfaces
      
      Instead of using the name of the parent device, let's use the name
      of the first cx231xx interface for all cx231xx sub-modules.
      
      With this path, the logs will be nicer:
      
        cx231xx 1-2:1.1: New device Conexant Corporation Polaris AV Capturb @ 480 Mbps (1554:5010) with 7 interfaces
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      336fea92
    • M
      [media] cx231xx: use dev_info() for extension load/unload · fb1817e4
      Mauro Carvalho Chehab 提交于
      Now that we're using dev_foo, the logs become like:
      
      	usb 1-2: DVB: registering adapter 0 frontend 0 (Fujitsu mb86A20s)...
      	usb 1-2: Successfully loaded cx231xx-dvb
      	cx231xx: Cx231xx dvb Extension initialized
      
      It is not clear, by the logs, that usb 1-2 name is an alias for
      cx231xx. So, we also need to use dvb_info() at extension load/unload.
      
      After the patch, it will print:
      	usb 1-2: Cx231xx dvb Extension initialized
      
      With is coherent with the other logs.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      fb1817e4
    • M
      [media] cx231xx: convert from pr_foo to dev_foo · b7085c08
      Mauro Carvalho Chehab 提交于
      Replace all pr_foo occurrences by dev_foo, as this is
      the recommended way for drivers.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      b7085c08
    • M
      [media] cx231xx: disable I2C errors during i2c_scan · 77e97ba2
      Mauro Carvalho Chehab 提交于
      Otherwise, it would produce lots of useless messages like:
      	cx231xx: cx231xx_send_usb_command: failed with status --32
      
      After this patch, I2C scan will produce an useful report:
      
      [ 9494.050807] cx231xx: i2c_scan: checking for I2C devices on port=0 ..
      [ 9494.074928] cx231xx: i2c scan: Completed Checking for I2C devices on port=0.
      [ 9494.074936] cx231xx: i2c_scan: checking for I2C devices on port=3 ..
      [ 9494.098934] cx231xx: i2c scan: Completed Checking for I2C devices on port=3.
      [ 9494.098942] cx231xx: i2c_scan: checking for I2C devices on port=2 ..
      [ 9494.118440] cx231xx: i2c scan: Completed Checking for I2C devices on port=2.
      [ 9494.118448] cx231xx: i2c_scan: checking for I2C devices on port=4 ..
      [ 9494.141889] cx231xx: i2c scan: Completed Checking for I2C devices on port=4.
      
      [ 9494.060182] cx231xx: i2c scan: found device @ 0x40  [???]
      [ 9494.062953] cx231xx: i2c scan: found device @ 0x60  [colibri]
      [ 9494.066071] cx231xx: i2c scan: found device @ 0x88  [hammerhead]
      [ 9494.067383] cx231xx: i2c scan: found device @ 0x98  [???]
      [ 9494.090113] cx231xx: i2c scan: found device @ 0xa0  [eeprom]
      [ 9494.106463] cx231xx: i2c scan: found device @ 0x60  [colibri]
      [ 9494.113762] cx231xx: i2c scan: found device @ 0xc0  [tuner]
      [ 9494.121882] cx231xx: i2c scan: found device @ 0x20  [???]
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      77e97ba2
    • M
      [media] cx231xx: Cleanup printk at the driver · ed0e3729
      Mauro Carvalho Chehab 提交于
      There are lots of debug printks printed with pr_info. Also, the
      printk's data are not too coherent:
      
      - there are duplicated driver name at the print format;
      - function name format string differs from function to function;
      - long strings broken into multiple lines;
      - some printks just produce ugly reports, being almost useless
        as-is.
      
      Do a cleanup on that.
      
      Still, there are much to be done in order to do a better printk
      job on this driver, but, at least it will now be a way less
      verbose, if debug printks are disabled, and some logs might
      actually be useful.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      ed0e3729
    • M
      [media] cx231xx: get rid of driver-defined printk macros · 589dadf2
      Mauro Carvalho Chehab 提交于
      It currently does just like what pr_foo() macros do. So,
      replace them.
      
      A deeper cleanup is needed, as there are lots of debug macros
      printed with pr_info.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      589dadf2
  10. 31 10月, 2014 3 次提交
  11. 03 9月, 2014 1 次提交
    • H
      [media] cx231xx: fix sparse warnings · 3f9280a8
      Hans Verkuil 提交于
      drivers/media/usb/cx231xx/cx231xx-avcore.c:2226:15: warning: cast to restricted __le32
      drivers/media/usb/cx231xx/cx231xx-avcore.c:2447:15: warning: cast to restricted __le32
      drivers/media/usb/cx231xx/cx231xx-avcore.c:2475:15: warning: cast to restricted __le32
      drivers/media/usb/cx231xx/cx231xx-avcore.c:2500:15: warning: cast to restricted __le32
      drivers/media/usb/cx231xx/cx231xx-avcore.c:2647:18: warning: incorrect type in assignment (different base types)
      drivers/media/usb/cx231xx/cx231xx-avcore.c:2659:21: warning: cast to restricted __le32
      drivers/media/usb/cx231xx/cx231xx-dvb.c:743:57: warning: Using plain integer as NULL pointer
      drivers/media/usb/cx231xx/cx231xx-dvb.c:776:57: warning: Using plain integer as NULL pointer
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      3f9280a8
  12. 28 7月, 2014 1 次提交
  13. 06 3月, 2013 1 次提交
  14. 16 8月, 2012 1 次提交
  15. 15 5月, 2012 1 次提交
    • H
      [media] cx231xx: fix compiler warnings · da983503
      Hans Verkuil 提交于
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-audio.c: In function ‘snd_cx231xx_hw_capture_params’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-audio.c:527:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-audio.c:526:31: warning: variable ‘format’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-audio.c:526:25: warning: variable ‘rate’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-audio.c:526:15: warning: variable ‘channels’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-audio.c: In function ‘snd_cx231xx_capture_trigger’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-audio.c:589:6: warning: variable ‘retval’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-video.c: In function ‘cx231xx_isoc_copy’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-video.c:331:17: warning: variable ‘outp’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-video.c: In function ‘cx231xx_bulk_copy’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-video.c:434:17: warning: variable ‘outp’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-video.c: In function ‘cx231xx_reset_video_buffer’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-video.c:704:7: warning: variable ‘outp’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-core.c: In function ‘cx231xx_set_mode’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-core.c:699:6: warning: variable ‘errCode’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-core.c: In function ‘cx231xx_ep5_bulkout’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-core.c:763:6: warning: variable ‘errCode’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-core.c: In function ‘cx231xx_isoc_irq_callback’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-core.c:800:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-core.c: In function ‘cx231xx_bulk_irq_callback’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-core.c:846:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-core.c: In function ‘cx231xx_stop_TS1’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-core.c:1234:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-core.c: In function ‘cx231xx_start_TS1’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-core.c:1254:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-avcore.c: In function ‘cx231xx_enable656’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-avcore.c:937:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-avcore.c: In function ‘cx231xx_disable656’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-avcore.c:955:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-avcore.c: In function ‘cx231xx_dump_HH_reg’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-avcore.c:1323:5: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-avcore.c: In function ‘cx231xx_dump_SC_reg’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-avcore.c:1358:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-avcore.c: In function ‘cx231xx_Setup_AFE_for_LowIF’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-avcore.c:1444:5: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-avcore.c: In function ‘cx231xx_set_Colibri_For_LowIF’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-avcore.c:1504:5: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-avcore.c: In function ‘cx231xx_set_DIF_bandpass’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-avcore.c:1559:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-avcore.c: In function ‘cx231xx_gpio_i2c_write’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-avcore.c:3093:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-417.c: In function ‘cx231xx_initialize_codec’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-417.c:1098:9: warning: variable ‘data’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-417.c: In function ‘vidioc_streamon’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-417.c:1795:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-vbi.c: In function ‘cx231xx_isoc_vbi_copy’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-vbi.c:86:25: warning: variable ‘buf’ set but not used [-Wunused-but-set-variable]
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-vbi.c: In function ‘cx231xx_irq_vbi_callback’:
      v4l-dvb-git/drivers/media/video/cx231xx/cx231xx-vbi.c:313:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      da983503
  16. 11 1月, 2012 2 次提交
  17. 28 7月, 2011 1 次提交
  18. 22 3月, 2011 1 次提交
  19. 29 12月, 2010 4 次提交
  20. 21 10月, 2010 9 次提交
  21. 21 5月, 2010 1 次提交