1. 30 6月, 2012 1 次提交
  2. 22 6月, 2012 3 次提交
  3. 19 6月, 2012 2 次提交
  4. 12 6月, 2012 2 次提交
  5. 20 5月, 2012 14 次提交
  6. 15 5月, 2012 6 次提交
    • A
      [media] dib9000: get rid of Dib*Lock macros · 1eaef48b
      Alexey Khoroshilov 提交于
      The patch replaces Dib*Lock macros with direct calls to mutex functions
      as soon as they just make the driver code harder to review
      (per request of Mauro).
      Signed-off-by: NAlexey Khoroshilov <khoroshilov@ispras.ru>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      1eaef48b
    • G
      [media] cxd2820r: tweak search algorithm behavior · b115f400
      Gianluca Gennari 提交于
      MPIS based STBs running 3.x kernels and the Enigma2 OS are not able to tune
      DVB-T channels with the PCTV 290e using the current cxd2820r driver.
      DVB-T2 channels instead work properly.
      
      This patch fixes the problem by changing the condition to break out from the
      wait lock loop in the "search" function of the cxd2820r demodulator from
      FE_HAS_SIGNAL to FE_HAS_LOCK.
      
      As a consequence, the "search" function of the demodulator driver now returns
      DVBFE_ALGO_SEARCH_SUCCESS only if the frequency lock is successfully acquired.
      
      This behavior seems consistent with other demodulator drivers (e.g. stv090x,
      hd29l2, stv0900, stb0899, mb86a16).
      
      This patch has been successfully tested with DVB-T and DVB-T2 signals,
      on both PC and the mipsel STB running Enigma2.
      No apparent side effect has been observed on PC applications like Kaffeine.
      DVB-C is not available in my country so it's not tested.
      Signed-off-by: NGianluca Gennari <gennarone@gmail.com>
      Acked-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      b115f400
    • A
      [media] dvb/drxd: stub out drxd_attach when not built · 60ab5e12
      Arnd Bergmann 提交于
      This avoids getting
      drivers/media/video/em28xx/em28xx-dvb.c:721: \
                             undefined reference to `drxd_attach'
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMathieu Poirier <mathieu.poirier@linaro.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      60ab5e12
    • H
      [media] v4l/dvb: fix compiler warnings · 5becbc58
      Hans Verkuil 提交于
      media_build/v4l/drxk_hard.c: In function 'DownloadMicrocode':
      media_build/v4l/drxk_hard.c:1388:6: warning: variable 'BlockCRC' set but not used [-Wunused-but-set-variable]
      media_build/v4l/drxk_hard.c:1384:6: warning: variable 'Drain' set but not used [-Wunused-but-set-variable]
      media_build/v4l/drxk_hard.c:1383:6: warning: variable 'Flags' set but not used [-Wunused-but-set-variable]
      media_build/v4l/lmedm04.c: In function 'lme2510_probe':
      media_build/v4l/lmedm04.c:1208:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/hopper_cards.c: In function 'hopper_irq_handler':
      media_build/v4l/hopper_cards.c:68:26: warning: variable 'lstat' set but not used [-Wunused-but-set-variable]
      media_build/v4l/mantis_cards.c: In function 'mantis_irq_handler':
      media_build/v4l/mantis_cards.c:76:26: warning: variable 'lstat' set but not used [-Wunused-but-set-variable]
      media_build/v4l/mantis_dma.c: In function 'mantis_dma_stop':
      media_build/v4l/mantis_dma.c:202:16: warning: variable 'mask' set but not used [-Wunused-but-set-variable]
      media_build/v4l/mantis_dma.c:202:6: warning: variable 'stat' set but not used [-Wunused-but-set-variable]
      media_build/v4l/mantis_evm.c: In function 'mantis_hifevm_work':
      media_build/v4l/mantis_evm.c:44:17: warning: variable 'gpif_mask' set but not used [-Wunused-but-set-variable]
      media_build/v4l/stb0899_drv.c: In function 'stb0899_init_calc':
      media_build/v4l/stb0899_drv.c:640:5: warning: variable 'agc1cn' set but not used [-Wunused-but-set-variable]
      media_build/v4l/stb0899_drv.c: In function 'stb0899_diseqc_init':
      media_build/v4l/stb0899_drv.c:830:13: warning: variable 'f22_rx' set but not used [-Wunused-but-set-variable]
      media_build/v4l/stb0899_drv.c:826:31: warning: variable 'tx_data' set but not used [-Wunused-but-set-variable]
      media_build/v4l/stv0900_sw.c: In function 'stv0900_track_optimization':
      media_build/v4l/stv0900_sw.c:838:26: warning: variable 'rolloff' set but not used [-Wunused-but-set-variable]
      media_build/v4l/ir-sanyo-decoder.c: In function 'ir_sanyo_decode':
      media_build/v4l/ir-sanyo-decoder.c:59:14: warning: variable 'not_address' set but not used [-Wunused-but-set-variable]
      media_build/v4l/mceusb.c: In function 'mceusb_dev_printdata':
      media_build/v4l/mceusb.c:523:46: warning: variable 'data5' 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>
      5becbc58
    • H
      [media] v4l/dvb: fix compiler warnings · fdf07b02
      Hans Verkuil 提交于
      media_build/v4l/stb6100.c: In function 'stb6100_read_reg':
      media_build/v4l/stb6100.c:161:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
      media_build/v4l/cx24110.c: In function 'cx24110_read_ucblocks':
      media_build/v4l/cx24110.c:515:6: warning: variable 'lastbyer' set but not used [-Wunused-but-set-variable]
      media_build/v4l/dib9000.c: In function 'dib9000_mbx_process':
      media_build/v4l/dib9000.c:711:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
      media_build/v4l/zl10353.c: In function 'zl10353_init':
      media_build/v4l/zl10353.c:562:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
      media_build/v4l/stv0297.c: In function 'stv0297_set_frontend':
      media_build/v4l/stv0297.c:417:16: warning: variable 'starttime' set but not used [-Wunused-but-set-variable]
      media_build/v4l/lgs8gxx.c: In function 'lgs8gxx_set_mode_manual':
      media_build/v4l/lgs8gxx.c:265:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/af9013.c: In function 'af9013_statistics_work':
      media_build/v4l/af9013.c:517:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/stv090x.c: In function 'stv090x_optimize_track':
      media_build/v4l/stv090x.c:2845:23: warning: variable 'rolloff' set but not used [-Wunused-but-set-variable]
      media_build/v4l/stv090x.c: In function 'stv090x_algo':
      media_build/v4l/stv090x.c:3177:28: warning: variable 'no_signal' set but not used [-Wunused-but-set-variable]
      media_build/v4l/it913x-fe.c: In function 'it913x_fe_read_ber':
      media_build/v4l/it913x-fe.c:636:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/it913x-fe.c: In function 'it913x_fe_get_frontend':
      media_build/v4l/it913x-fe.c:661:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/it913x-fe.c: In function 'it913x_fe_set_frontend':
      media_build/v4l/it913x-fe.c:694:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/m88rs2000.c: In function 'm88rs2000_set_fec':
      media_build/v4l/m88rs2000.c:657:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/dst_ca.c: In function 'ca_send_message':
      media_build/v4l/dst_ca.c:480:15: warning: variable 'ca_message_header_len' set but not used [-Wunused-but-set-variable]
      media_build/v4l/smssdio.c: In function 'smssdio_interrupt':
      media_build/v4l/smssdio.c:117:11: warning: variable 'isr' 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>
      fdf07b02
    • H
      [media] af9033: implement ber and ucb functions · 47eafa54
      Hans-Frieder Vogt 提交于
      af9033: implement read_ber and read_ucblocks functions. Version 2 of patch that
      reflects my findings on the behaviour of abort_cnt, err_cnt and bit_cnt:
      
      - bit_cnt is always 0x2710 (10000)
      - abort_cnt is between 0 and 0x2710
      - err_cnt is between 0 and 640000 (= 0x2710 * 8 * 8)
      
      in the current implementation BER is calculated as the number of bit errors per
      processed bits, ignoring those bits that are already discarded and counted in
      abort_cnt, i.e. UCBLOCKS.
      Signed-off-by: NHans-Frieder Vogt <hfvogt@gmx.net>
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      47eafa54
  7. 20 4月, 2012 1 次提交
  8. 19 4月, 2012 3 次提交
  9. 18 4月, 2012 1 次提交
  10. 10 4月, 2012 7 次提交