1. 23 Feb, 2016 1 commit
  2. 03 Sep, 2014 1 commit
    • Mauro Carvalho Chehab's avatar
      [media] xc4000: Fix bad alignments · 97e0e1e8
      Mauro Carvalho Chehab authored
      As reported by cocinelle:
      
      drivers/media/tuners/xc4000.c:573:2-28: code aligned with following code on line 574
      drivers/media/tuners/xc4000.c:575:2-29: code aligned with following code on line 576
      drivers/media/tuners/xc4000.c:577:2-29: code aligned with following code on line 578
      drivers/media/tuners/xc4000.c:579:2-27: code aligned with following code on line 580
      drivers/media/tuners/xc4000.c:581:2-29: code aligned with following code on line 582
      drivers/media/tuners/xc4000.c:583:2-29: code aligned with following code on line 584
      drivers/media/tuners/xc4000.c:585:2-28: code aligned with following code on line 586
      drivers/media/tuners/xc4000.c:587:2-27: code aligned with following code on line 588
      drivers/media/tuners/xc4000.c:589:2-28: code aligned with following code on line 590
      drivers/media/tuners/xc4000.c:591:2-29: code aligned with following code on line 592
      drivers/media/tuners/xc4000.c:593:2-28: code aligned with following code on line 594
      drivers/media/tuners/xc4000.c:595:2-26: code aligned with following code on line 596
      drivers/media/tuners/xc4000.c:597:2-30: code aligned with following code on line 598
      drivers/media/tuners/xc4000.c:599:2-27: code aligned with following code on line 600
      drivers/media/tuners/xc4000.c:601:2-28: code aligned with following code on line 602
      drivers/media/tuners/xc4000.c:603:2-28: code aligned with following code on line 604
      drivers/media/tuners/xc4000.c:605:2-28: code aligned with following code on line 606
      drivers/media/tuners/xc4000.c:607:2-26: code aligned with following code on line 608
      drivers/media/tuners/xc4000.c:609:2-28: code aligned with following code on line 610
      drivers/media/tuners/xc4000.c:611:2-30: code aligned with following code on line 612
      drivers/media/tuners/xc4000.c:613:2-31: code aligned with following code on line 614
      drivers/media/tuners/xc4000.c:615:2-30: code aligned with following code on line 616
      drivers/media/tuners/xc4000.c:617:2-33: code aligned with following code on line 618
      drivers/media/tuners/xc4000.c:619:2-33: code aligned with following code on line 620
      drivers/media/tuners/xc4000.c:621:2-32: code aligned with following code on line 622
      drivers/media/tuners/xc4000.c:623:2-34: code aligned with following code on line 624
      drivers/media/tuners/xc4000.c:625:2-29: code aligned with following code on line 626
      drivers/media/tuners/xc4000.c:627:2-29: code aligned with following code on line 628
      drivers/media/tuners/xc4000.c:629:2-30: code aligned with following code on line 630
      drivers/media/tuners/xc4000.c:631:2-29: code aligned with following code on line 632
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      97e0e1e8
  3. 22 Jul, 2014 4 commits
  4. 27 Dec, 2012 1 commit
  5. 29 Oct, 2012 1 commit
    • Mauro Carvalho Chehab's avatar
      [media] xc4000: Fix a few warnings · 0d0d76e5
      Mauro Carvalho Chehab authored
      drivers/media/tuners/xc4000.c: In function ‘check_firmware’:
      drivers/media/tuners/xc4000.c:1048:45: warning: ‘fw_minor’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      drivers/media/tuners/xc4000.c:1048:39: warning: ‘fw_major’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      drivers/media/tuners/xc4000.c:1062:39: warning: ‘hw_minor’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      drivers/media/tuners/xc4000.c:1062:33: warning: ‘hw_major’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      0d0d76e5
  6. 13 Aug, 2012 2 commits
  7. 16 Jan, 2012 1 commit
    • Miroslav Slugen's avatar
      [media] xc4000: add support for signal strength measures · 8a538a88
      Miroslav Slugen authored
      In xc4000 chipsets real signal and noise level is stored in register
      0x0A and 0x0B,so we can use those registers to monitor signal strength.
      
      I tested this patch on 2 different cards Leadtek DVR3200 and DTV2000H
      Plus, both with same results, I used special antenna hubs (toner 4x, 6x,
      8x and 12x) with mesured signal lost, both registers are in dB value,
      first represent signal with limit value -113.5dB (should be -114dB) and
      exactly match with test results. Second represents noise level also in
      dB and there is no maximum value, but from tests we can drop everything
      above 32dB which tuner realy can't use, signal was usable till 20dB
      noise level.
      
      In digital mode we can take signal strength but sadly noise level is not
      relevant and real value is stored in demodulator for now just zl10353,
      also digital mode is just for testing, because it needs changing other
      parts of code which reads data only from demodulator.
      
      In analog mode I was able to test only FM radio, signal level is not
      important, it says something about cable and hub losts, but nothing
      about real quality of reception, so even if we have signal level at
      minimum 113dB we can still here radio, because of that it is displaied
      only in debug mode, but for real signal level is used noise register
      which is again very accurate, radio noise level was betwen 6-20dB for
      good signal, 20-25dB for medium signal, and above 25dB signal is
      unusable.
      
      For now real benefit of this patch is only for FM radio mode.
      Signed-off-by: default avatarMiroslav Slugen <thunder.mmm@gmail.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      8a538a88
  8. 31 Dec, 2011 3 commits
  9. 30 Dec, 2011 1 commit
  10. 27 Jul, 2011 25 commits