1. 10 12月, 2013 5 次提交
    • R
      [media] az6007: support Technisat Cablestar Combo HDCI (minus remote) · 431cb350
      Roland Scheidegger 提交于
      This is similar to the Terratec H7. It works with the same az6007 firmware as
      the former, however the drx-k firmware of the H7 will NOT work. Hence use
      a different firmware name. The firmware does not need to exist as the one in
      the eeprom is just fine as long as the h7 one doesn't get loaded, but maybe
      some day someone wants to load it (the one from the h5 would work too).
      Also since the config entry is now different anyway disable support for rc.
      AFAIK the Technisat remote (TS35) is RC5 and the code (which a code comment
      claims doesn't work anyway) only would handle NEC hence it's pointless creating
      a device and polling it if we already know it can't work.
      CI is untested.
      
      Originally based on idea found on
      http://www.linuxtv.org/wiki/index.php/TechniSat_CableStar_Combo_HD_CI claiming
      only id needs to be added (but failed to mention it only worked because the
      driver couldn't find the h7 drx-k firmware...).
      Signed-off-by: NRoland Scheidegger <rscheidegger_lists@hispeed.ch>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      431cb350
    • W
      [media] v4l: ti-vpe: fix return value check in vpe_probe() · b68231a1
      Wei Yongjun 提交于
      In case of error, the function devm_kzalloc() and devm_ioremap()
      returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return
      value check should be replaced with NULL test.
      Signed-off-by: NWei Yongjun <yongjun_wei@trendmicro.com.cn>
      Reviewed-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      b68231a1
    • W
      [media] v4l: ti-vpe: fix error return code in vpe_probe() · 6676cafe
      Wei Yongjun 提交于
      Fix to return a negative error code from the error handling
      case instead of 0, as done elsewhere in this function.
      Signed-off-by: NWei Yongjun <yongjun_wei@trendmicro.com.cn>
      Reviewed-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      6676cafe
    • W
      [media] v4l: ti-vpe: use module_platform_driver to simplify the code · 903cbb83
      Wei Yongjun 提交于
      module_platform_driver() makes the code simpler by eliminating
      boilerplate code.
      Signed-off-by: NWei Yongjun <yongjun_wei@trendmicro.com.cn>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      903cbb83
    • M
      [media] radio-bcm2048: fix signal of value · 356ba021
      Mauro Carvalho Chehab 提交于
      As value can be initialized with a value lower than zero, change it
      to int, to avoid those warnings:
      
      drivers/staging/media/bcm2048/radio-bcm2048.c: In function 'bcm2048_rds_pi_read':
      drivers/staging/media/bcm2048/radio-bcm2048.c:1989:9: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
        struct bcm2048_device *bdev = dev_get_drvdata(dev);  \
               ^
      drivers/staging/media/bcm2048/radio-bcm2048.c:2070:1: note: in expansion of macro 'property_read'
       property_read(rds_pi, unsigned int, "%x")
       ^
      drivers/staging/media/bcm2048/radio-bcm2048.c: In function 'bcm2048_fm_rds_flags_read':
      drivers/staging/media/bcm2048/radio-bcm2048.c:1989:9: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
        struct bcm2048_device *bdev = dev_get_drvdata(dev);  \
               ^
      drivers/staging/media/bcm2048/radio-bcm2048.c:2074:1: note: in expansion of macro 'property_read'
       property_read(fm_rds_flags, unsigned int, "%u")
       ^
      drivers/staging/media/bcm2048/radio-bcm2048.c: In function 'bcm2048_region_bottom_frequency_read':
      drivers/staging/media/bcm2048/radio-bcm2048.c:1989:9: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
        struct bcm2048_device *bdev = dev_get_drvdata(dev);  \
               ^
      drivers/staging/media/bcm2048/radio-bcm2048.c:2077:1: note: in expansion of macro 'property_read'
       property_read(region_bottom_frequency, unsigned int, "%u")
       ^
      drivers/staging/media/bcm2048/radio-bcm2048.c: In function 'bcm2048_region_top_frequency_read':
      drivers/staging/media/bcm2048/radio-bcm2048.c:1989:9: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
        struct bcm2048_device *bdev = dev_get_drvdata(dev);  \
               ^
      drivers/staging/media/bcm2048/radio-bcm2048.c:2078:1: note: in expansion of macro 'property_read'
       property_read(region_top_frequency, unsigned int, "%u")
      
      Cc: Hans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      356ba021
  2. 09 12月, 2013 11 次提交
  3. 05 12月, 2013 15 次提交
  4. 04 12月, 2013 9 次提交