summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stv0900_core.c
Commit message (Collapse)AuthorAgeFilesLines
* V4L/DVB: stv0900: Whitespace cleanupMauro Carvalho Chehab2010-05-181-1/+1
| | | | | | Fixes sync with -hg tree Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB: get_frontend for STV0900Abylay Ospan2010-05-181-1/+15
| | | | | Signed-off-by: Abylay Ospan <aospan@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB: drivers/media: Correct NULL testJulia Lawall2010-02-261-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | In each case, the NULL test has been performed already. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ expression *x; expression e; identifier l; @@ if (x == NULL || ...) { ... when forall return ...; } ... when != goto l; when != x = e when != &x *x == NULL // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB: stv0900: dereference of state->internal in fe_stv0900_error ↵Roel Kluin2010-02-261-0/+7
| | | | | | | | | | stv0900_init_internal() state->internal allocation may fail as well as the allocation of stv0900_first_inode or new_node->next_inode in append_internal(). Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB: stv0900: make more local functions staticMárton Németh2010-02-261-5/+5
| | | | | | | | | | | | | | Some functions are only used locally so mark them static. This will remove the following sparse warnings (see "make C=1"): * symbol 'extract_mask_pos' was not declared. Should it be static? * symbol 'stv0900_initialize' was not declared. Should it be static? * symbol 'stv0900_get_mclk_freq' was not declared. Should it be static? * symbol 'stv0900_set_mclk' was not declared. Should it be static? * symbol 'stv0900_get_err_count' was not declared. Should it be static? Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (13818): Add Prof 7500 DVB-S2 USB cardIgor M. Liplianin2010-02-261-1/+86
| | | | | | | The card based on stv0903 demod, stb6100 tuner. Signed-off-by: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (13630): Print bitrate measured by stv0900 demod in stv0900_read_statusAbylay Ospan2009-12-161-0/+13
| | | | | Signed-off-by: Abylay Ospan <aospan@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (13407): Add Prof 7301 PCI DVB-S2 cardIgor M. Liplianin2009-12-051-0/+3
| | | | | | | | | Add Prof 7301 PCI DVB-S2 card The card based on stv0903 demod, stb6100 tuner. Signed-off-by: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (13340): stv0900: big rework to support cut 3.0.Igor M. Liplianin2009-12-051-820/+633
| | | | | | | | | Patch 3 of 4. Also patch changes logic to prevent code repetitions and big indents. It makes checkpatch silent :) Signed-off-by: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (13337): Change str snr scale for stv0900/903 and Netup Dual DVB-S2 ↵Igor M. Liplianin2009-12-051-4/+21
| | | | | | | card. Signed-off-by: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (13336): stv0900: config definition for single/dual modeIgor M. Liplianin2009-12-051-2/+2
| | | | | Signed-off-by: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (13335): stv0900: fix diseqc support for NetUP cardAbylay Ospan2009-12-051-11/+20
| | | | | Signed-off-by: Abylay Ospan <aospan@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (13045): Fix debug messaging for stv0900 demod.Igor M. Liplianin2009-12-051-29/+29
| | | | | Signed-off-by: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12312): stv0900: fix i2c repeater configuration must be set to manualAbylay Ospan2009-09-121-4/+4
| | | | | | | | | | | In automatic mode every stop event on SDA line ends repetition. However, in NetUP Dual card on the same i2c bus we have several devices. If someone using both adapters to lock simultaneously or working with CAM interface during lock procedure, it lead to end repetition prematurely quite often. Set stv0900 i2c repeater to manual mode prevents such situation. Signed-off-by: Abylay Ospan <aospan@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12098): Create table for customize stv0900 ts registers.Igor M. Liplianin2009-06-231-2/+19
| | | | | Signed-off-by: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12097): Implement reading uncorrected blocks for stv0900Abylay Ospan2009-06-231-0/+39
| | | | | Signed-off-by: Abylay Ospan <aospan@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (12096): Bug fix: stv0900 register read must using i2c in one ↵Abylay Ospan2009-06-231-20/+20
| | | | | | | transaction Signed-off-by: Abylay Ospan <aospan@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (11057): Fix CiMax stability in Netup Dual DVB-S2 CIAbylay Ospan2009-03-301-1/+1
| | | | | | | | It appears TS discontinuity about one per 10 hrs if CAM used. Patch to fix it. Signed-off-by: Abylay Ospan <aospan@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (11055): Fix typo in stv0900Igor M. Liplianin2009-03-301-1/+1
| | | | | Signed-off-by: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (11054): Shorten some lines in stv0900 to less then 81 charactersIgor M. Liplianin2009-03-301-13/+28
| | | | | Signed-off-by: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10871): stv0900: delete debug messages not related to stv0900 ↵Igor M. Liplianin2009-03-301-16/+4
| | | | | | | tuning algorythm Signed-off-by: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10846): dvb/frontends: fix duplicate 'debug' symbolRandy Dunlap2009-03-301-2/+2
| | | | | | | | | | | | | | | | Fix dvb frontend debug variable to be static, to avoid linker errors: drivers/built-in.o:(.data+0xf4b0): multiple definition of `debug' arch/x86/kernel/built-in.o:(.kprobes.text+0x90): first defined here ld: Warning: size of symbol `debug' changed from 85 in arch/x86/kernel/built-in.o to 4 in drivers/built-in.o It would also be Good if arch/x86/kernel/entry_32.S didn't have a non-static 'debug' symbol. OTOH, it helps catch things like this one. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (10803): Add core code for ST STV0900 dual demodulator.Igor M. Liplianin2009-03-301-0/+1946
Signed-off-by: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
OpenPOWER on IntegriCloud