summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/tda10086.c
AgeCommit message (Collapse)Author
2009-08-10Use kzalloc for frontend states to have struct dvb_frontend properlyDouglas Schilling Landgraf
From: Matthias Schwarzott <zzam@gentoo.org> This patch changes most frontend drivers to allocate their state structure via kzalloc and not kmalloc. This is done to properly initialize the embedded "struct dvb_frontend frontend" field, that they all have. The visible effect of this struct being uninitalized is, that the member "id" that is used to set the name of kernel thread is totally random. Some board drivers (for example cx88-dvb) set this "id" via videobuf_dvb_alloc_frontend but most do not. So I at least get random id values for saa7134, flexcop and ttpci based cards. It looks like this in dmesg: DVB: registering adapter 1 frontend -10551321 (ST STV0299 DVB-S) The related kernel thread then also gets a strange name like "kdvb-ad-1-fe--1". Priority: normal Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> CC: Michael Krufky <mkrufky@linuxtv.org> CC: Steven Toth <stoth@linuxtv.org> CC: Timothy Lee <timothy.lee@siriushk.com> CC: Igor M. Liplianin <liplianin@me.by> Acked-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2008-04-13tda10086 coding stlye fixesHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> This patch replaces the c++ style comments. No functional changes Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2008-04-10tda10086: make the xtal frequency a configuration optionHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> Some DVB-S boards, i.e. with the SD1878 tuner, use a 4 MHz reference frequency. This reqires a different setup of the clock PLL. This patch adds an enum to the tda10086_config struct and sets the proper values for the boards. This patch also fixes the DVB-S section of the MD7134_BRIDGE_2 Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2008-04-08media/dvb/frontends replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-02-10tda10086: make the 22kHz tone for DISEQC a config optionHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> Some cards need the diseqc signal modulated, while some just need the envelope to control the LNB supply. This fixes Bug 9887 Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de> Acked-By: Patrick Boettcher <pb@linuxtv.org> Acked-by: Oliver Endriss <o.endriss@gmx.de>
2008-01-27[PATCH] static memoryDouglas Schilling Landgraf
From: Douglas Schilling Landgraf <dougsland@gmail.com> - Static memory is always initialized with 0. - Replaced in some cases C99 comments for /* */ Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-11-08Fix bug #8824: Correct support for Diseqc on tda10086Mauro Carvalho Chehab
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> This is a modified version of a patch previously posted by Thomas Unverzagt. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-21Cleanup: remove linux/moduleparam.h from drivers/media filesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Since at least kernel 2.6.12-rc2, module.h includes moduleparm.h. This patch removes all occurences of moduleparm.h from drivers/media files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-02Fix v4l-dvb backward compatibilityMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Due to several internal API changes on kernel, kernel backward compatibility were lost. Basically, compat.h should be the last include for it to work properly. This patch basically reorders kernel headers to allow backward compat to work fine. Also: Some includes were added after some non-include macros, on old drivers. Better to keep all includes at the beginning of the files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-28tda10086,tda826x: fix tuning, STR/SNR valuesOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Several people reported unreliable reception with the current driver. Furthermore, STR and SNR values seem to be inverted. This fix is based on a patch posted by Hartmut Hackman. Thanks to Helmut Auer for testing and helping to optimize the patch. tda826x: - set baseband cut-off to 19 MHz tda10086: - change the parameters of the carrier recovery loop - toggle register 0x02 between 0x35 (tuning) and 0x00 (locked) - invert STR and SNR values Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Thanks-to: Hartmut Hackmann <hartmut.hackmann@t-online.de> Thanks-to: Helmut Auer <vdr@helmutauer.de>
2007-04-01tda10086: fix DiSEqC message lengthMauro Carvalho Chehab
From: Andreas Oberritter <obi@linuxtv.org> Setting the message length to zero means to send one byte, so you need a subtraction instead of an addition. Signed-off-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-22Fix oops on symbol rate==0Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> The tda10086 causes an oops (divide by zero) if a zero symbol rate is used; this prevents this. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-30Disable tda10086 debug by default.Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Left on by accident. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-30Add drivers for tda10086 + tda826x chipsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> TDA10086 is a new DVB-S demodulator TDA826x is a DVB-S Silicon Tuner Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>