1. 25 11月, 2014 1 次提交
  2. 30 10月, 2014 1 次提交
  3. 04 9月, 2014 2 次提交
  4. 15 1月, 2014 1 次提交
  5. 10 12月, 2013 1 次提交
  6. 30 11月, 2013 1 次提交
  7. 17 10月, 2013 1 次提交
  8. 09 6月, 2013 7 次提交
    • M
      [media] drxk_hard: Remove most 80-cols checkpatch warnings · ab5060cd
      Mauro Carvalho Chehab 提交于
      X-Patchwork-Delegate: mchehab@redhat.com
      There are a few cases where breaking the code into separate
      lines make it worse to read. However, on several places,
      breaking it to make checkpatch.pl happier is OK and improves
      code readability.
      So, break longer lines where that won't cause harm.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      ab5060cd
    • M
      [media] drxk_hard: remove needless parenthesis · 949dd08d
      Mauro Carvalho Chehab 提交于
      X-Patchwork-Delegate: mchehab@redhat.com
      There are several places where: state->var = (some_var)
      The parenthesis there are doing nothing but making it
      harder to read and breaking the 80 columns soft limits.
      Just get rid of it.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      949dd08d
    • M
      [media] drxk_hard: use usleep_range() · b72852ba
      Mauro Carvalho Chehab 提交于
      X-Patchwork-Delegate: mchehab@redhat.com
      Fixes the following checkpatch.pl warnings:
      WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
      +			msleep(10);
      WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
      +		msleep(1);
      WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
      +			msleep(1);
      WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
      +		msleep(1);
      WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
      +		msleep(1);
      WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
      +		msleep(1);
      WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
      +		msleep(1);
      WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
      +		msleep(1);
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      b72852ba
    • M
      [media] drxk_hard: don't split strings across lines · 0fb220f2
      Mauro Carvalho Chehab 提交于
      X-Patchwork-Delegate: mchehab@redhat.com
      WARNING: quoted string split across lines
      	#5416: FILE: media/dvb-frontends/drxk_hard.c:5416:
      	+		dprintk(1, "Could not set demodulator parameters. Make "
      	+			"sure qam_demod_parameter_count (%d) is correct for "
      	WARNING: quoted string split across lines
      	#5423: FILE: media/dvb-frontends/drxk_hard.c:5423:
      	+		dprintk(1, "Auto-probing the correct QAM demodulator command "
      	+			"parameters was successful - using %d parameters.\n",
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      0fb220f2
    • M
      [media] drxk_hard: use pr_info/pr_warn/pr_err/... macros · 3a4398f5
      Mauro Carvalho Chehab 提交于
      X-Patchwork-Delegate: mchehab@redhat.com
      replace all occurrences of  printk(KERN_* by
      pr_info/pr_warn/pr_err/pr_debug/pr_cont macros.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      3a4398f5
    • M
      [media] drxk_hard: Don't use CamelCase · cd7a67a4
      Mauro Carvalho Chehab 提交于
      X-Patchwork-Delegate: mchehab@redhat.com
      Thare are lots of CamelCase warnings produced by checkpatch.pl.
      This weren't fixed at the time the driver got submitted due
      to the lack of manpower do to such cleanup.
      Now that I have one script that automates this task, cleans
      it. That makes the driver almost checkpatch-compliant,
      except for 80 column warnings.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      cd7a67a4
    • M
      [media] drxk_hard: don't re-implement log10 · b5e9eb6f
      Mauro Carvalho Chehab 提交于
      X-Patchwork-Delegate: mchehab@redhat.com
      Log10 routine is already defined at dvb_math.h and provides a good
      enough approximation for 100 x log10(). So, instead of reinventing
      the wheel, use the already existing function.
      While here, don't use CamelCase on the function name.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      b5e9eb6f
  9. 23 3月, 2013 1 次提交
  10. 22 3月, 2013 1 次提交
    • M
      [media] drxk: fix CNR calculus · 48f72a1a
      Mauro Carvalho Chehab 提交于
      Changeset 8f3741e0 accidentally broke the CNR estimation. It should
      be calculated as "a + b - c". However, previously, the subtraction
      by c only occurred if SNR would be positive, due to a bad binding
      to DVBv3 API.
      
      This also fixes the following warning:
      	drivers/media/dvb-frontends/drxk_hard.c:2556:6: warning: variable 'c' set but not used [-Wunused-but-set-variable]
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      48f72a1a
  11. 21 3月, 2013 4 次提交
  12. 03 12月, 2012 1 次提交
  13. 29 10月, 2012 1 次提交
  14. 28 10月, 2012 1 次提交
  15. 25 10月, 2012 2 次提交
  16. 03 10月, 2012 1 次提交
  17. 14 8月, 2012 1 次提交
  18. 07 7月, 2012 4 次提交
  19. 30 6月, 2012 4 次提交
  20. 20 5月, 2012 1 次提交
  21. 15 5月, 2012 1 次提交
    • 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
  22. 18 4月, 2012 1 次提交
  23. 08 2月, 2012 1 次提交