summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
AgeCommit message (Collapse)Author
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-11-21merge: http://linuxtv.org/hg/~mkrufky/dvb-pllMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-21TDA826x I2C read with 2 messagesPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Added a dump I2C message to the TDA826x-driver to fix I2C read for identification with ttusb2-driver. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-11-20lgh06xf: use return value of dvb_pll_configure() to fill priv->frequencyMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> In lgh06xf_set_params: Rename int variable "err" to "result". Remove needless calculation of the set frequency, since this value is now being returned by dvb_pll_configure(). Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-11-20dvb-pll: return frequency set by dvb_pll_configure()Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch removes some duplicated code by returning the frequency set by dvb_pll_configure(), instead of recalculating it again in dvb_pll_set_params() and dvb_pll_calc_regs(). If the return value of dvb_pll_configure is less than zero, it is an error code. Otherwise, the return value is the frequency actually set by the function. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-20whitespace cleanupMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - adhere to 80-column limit - replace some spaces with tabs Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-11-19lgh06xf: fix compiler error when not selectedMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> fix build error: lgh06xf.h:29: error: syntax error before '{' token Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-11-19drivers/media/dvb/frontends: kfree() cleanupsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> We don't have to check for NULL before kfree() Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-19create new lgh06xf atsc tuner moduleMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch creates a new atsc tuner module for the LG TDVS-H06xF ATSC tuners, called lgh06xf. The purpose of this change is to reduce some duplicated code, and to allow the lgh06xf tuner code to take advantage of dvb_attach(). As a side effect, the dependency of dvb-bt8xx on dvb-pll has been removed, since the lgh06xf module itself will use dvb-pll, while remaining optional for the dvb-bt8xx driver through the use of DVB_FE_CUSTOMISE Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-16Added support for the Terratec Cinergy HT PCMCIA moduleHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> This is a hybrid cardbus module. Besides the card support, i modified the definition names for AGC and GPIO of the tda10046. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-11-03tda826x: use correct max frequencyMauro Carvalho Chehab
From: Alexey Dobriyan <adobriyan@gmail.com> sparse "defined twice" warning Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-02dvb: dibx000_common-fixMauro Carvalho Chehab
From: Andrew Morton <akpm@osdl.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-10-31merge: http://linuxtv.org/hg/~mkrufky/lgdt330xMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-10-31tda8083: support for uncorrectable blocks and bit error rateOliver Endriss
From: Christoph Haubrich <christoph1.haubrich@arcor.de> Copied routines for uc blocks and BER from the removed tda80xx.c into tda8083.c. Signed-off-by: Christoph Haubrich <christoph1.haubrich@arcor.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-10-29lgdt330x: SNR and signal strength reportingMichael Krufky
From: Trent Piepho <xyzzy@speakeasy.org> Update the SNR calculations to use the new dvb_math log function, and add SNR calculations for all supported modulations for both lg dt3302 and dt3303. The QAM equations don't appear in the dt3302 datasheet, so the ones from the dt3303 datasheet were used. SNR returned is the actual value in dB as 8.8 fixed point. Reporting of real signal strength isn't supported, so rather than return 0, which confuses some software and users, a re-scaled SNR value is returned. Code originally by Rusty Scott. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Rusty Scott <rustys@ieee.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-18Misc fixes for DiB3000 and DiB7000Patrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> This patch contains several fixes for the autosearch algorithm and other small ones. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-10-18Add support for DiBcom DiB7000PCPatrick Boettcher
From: Patrick Boettcher <pboettcher@dibcom.fr> This patch contains support for the DiB7000PC-driver. Signed-off-by: Francois KANOUNNIKOFF <fkanounnikoff@dibcom.fr> Signed-off-by: Patrick Boettcher <pboettcher@dibcom.fr>
2006-10-17Add working dib7000m-modulePatrick Boettcher
From: Patrick Boettcher <pboettcher@dibcom.fr> First working version of the dib7000m-driver. This commit also makes the Hauppauge NOVA-T Stick working. Signed-off-by: Francois Kanounnikoff <fkanounnikoff@dibcom.fr> Signed-off-by: Patrick Boettcher <pboettcher@dibcom.fr>
2006-10-14DVB: Add DVB_FE_CUSTOMISE support for MT2060Trent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Let the MT2060 be customized like most of the other DVB PLLs/front-ends. Also, add a missing dependency on I2C. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-10-14Fix DBV_FE_CUSTOMISE for card drivers compiled into kernelTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> When a front-end is disabled, card drivers that use it are compiled with a stub version of the front-end's attach function. This way they have no references to the front-end's code and don't need it to be loaded. If a card driver is compiled into the kernel, and a front-end is a module, then that front-end is effectively disabled wrt the card driver. In this case, the card driver should get the stub version. This was not happening. The stub vs real attach function selection is changed so that when the front-end is a module the real attach function is only used if the card driver is a module as well. This means a module front-end will be supported by card drivers that are modules and not supported by card drivers compiled into the kernel. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-10-13AGC command1/2 is board specificPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Added config-struct-parameter to take board-specific AGC command 1 and 2 into account. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-10-09tda826x: fix frontend selection for dvb_attachMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-09tda10086: fix frontend selection for dvb_attachMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-02CX24109 patch to eliminate the weird mis-tuningsSteven Toth
From: Steven Toth <stoth@hauppauge.com> A number of people have been reporting wierd tuning problems with various cards. Yeasah tracked down the problem to a miss-read datasheet. This resolves the problems. Signed-off-by: Yeasah Pell <yeasah@schwide.net> Signed-off-by: Steven Toth <stoth@hauppauge.com>
2006-09-20Removed compilation warningsPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Removed compilation warnings for unused statics and locals Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Misc fixes for Nova-T 500Patrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> - forward the clock to the slave undivided - when sleeping the 3000 do not shutdown the clock Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Misc fixes for DiB3000MC and Nova-T 500Patrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> - make the timing frequency update work. - fix AGC calibration for Nova-T 500 Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Hauppauge Nova-T 500 support addedPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> This changeset finalizes the support of the Hauppauge Nova-T 500 (Dual DVB-T). It adds correct AGC setting for the 3000P, correct firmware download state detection. Additionally it fixes the mt2060-driver to be able to be used with dvb_attach. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Misc. changes, DiB3000MC, MT2060Patrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Changed the attach-function of the dib3000mc-driver to return only one frontend. In case of multiple dib3000-chips on one board, one has to call the i2c-enumeration manually before. Added a field to Microtune 2060 config to output the clock to other tuners/device on a board. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-07Add tua6100 config wrapperAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> I had forgotten to add the wrapper round the tua6100_attach function if its disabled in Kconfig Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-09-05Add driver for TUA6100Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> This driver was originally in budget-av.c, however I have extracted it into a seperate file to permit reuse. I also reworked the code to make it maintainable. I then examined the KNC1 windows drivers and rewrote the code in order to configure the PLL as they do. This solves a lot of reported tuning problems. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-09-03Fix DVB Front-End Signal Strength InconsistencyAndrew de Quincey
From: "Bradley Kite" <bradley.kite@gmail.com> The cx22702 returns an 8 bit unshifted value for signal strength; this is inconsistent with most other frontends Signed-off-by: Bradley Derek Kite <bradley.kite@gmail.com> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-08-24isl6421: Release callback installed incorrectlyTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The release callback was installed in ops.release, it should have been ops.release_sec. This prevented to front-end release from getting called. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-08-23merge: http://linuxtv.org/hg/~pb/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-23Fix a warning caused by a typo (comma instead of dot-comma)Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-21Another fix for the PID parsingPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Still the pid_parse bit was erased. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-19Keep the PID parse bit when resetting the output modePatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Matthieu Castet found that with the rewritten dib3000mc-driver the PID-parsing was handled correctly. This changeset fixes it. Thanks Matthieu Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-15merge from mainPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> merge from main Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-10Tuning tweaks for ZL10353Chris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> More register setup which improves the ZL10353's tuning characteristics. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-08-10Fix "no data from ZL10353 based USB tuner" problemChris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> Force parallel transport stream output on the ZL10353 attached to a bluebird device. Addresses the problem where a frontend lock was observed, but no MPEG transport data was received. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-08-09[lnbp21] release callback fixedOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> lnbp21 module must use fe->ops.release_sec, not fe->ops.release. The release function of the frontend driver was never called for cards with lnbp21... Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-08-08merge: http://linuxtv.org/hg/~pb/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-07LNB voltage control was inverted for the benefit of geniatech cards on KworldMauro Carvalho Chehab
From: Yeasah Pell <yeasah@schwide.com> 1) It sets LNBDCPol differently based on the card type. Now it should work properly for both the kworld and geniatech cards. 2) It stops returning an error for the SEC_VOLTAGE_OFF voltage command (the cx88-dvb level handles the actual voltage on/off, but it still passes the ioctl down to the cx24123 level, which previously rejected the OFF as invalid so the ioctl would report failure) Signed-off-by: Yeasah Pell <yeasah at schwide.net> Acked-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-06Improve hardware algorithm by setting the appropriate registersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Hardware algorithm needs to be configured to: 1) Increase timeout constants, to detect weaker signals; 2) do a wider zigzag search. Acked-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-06Initial commit for the DiB7000M-demodPatrick Boettcher
From: Patrick Boettcher <pboettcher@dibcom.fr> Initial commit for the driver for the DiB7000M COFDM demodulator. Signed-off-by: Francois KANOUNNIKOFF <fkanounnikoff@dibcom.fr> Signed-off-by: Patrick Boettcher <pboettcher@dibcom.fr>
2006-08-06Make the dibx000-common-module GPLPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Forget to put the MODULE-define and thus to give the license. Now GPL Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-06Remove debug-print from dib3000mcPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Removed and commented a small debug function. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-06merge from mainPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> merge from main Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-05merge: http://linuxtv.org/hg/~pascoe/pending/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-05HW algoManu Abraham
Change this card to use HW ALGO tuning From: Yeasah Pell <yeasah@schwide.com> Signed-off-by: Yeasah Pell <yeasah@schwide.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>