summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
AgeCommit message (Collapse)Author
2009-06-18zl10353 and qt1010: fix stack corruption bugMauro Carvalho Chehab
From: Jan Nikitenko <jan.nikitenko@gmail.com> Fixes stack corruption bug present in dump_regs function of zl10353 and qt1010 drivers: the buffer buf was one byte smaller than required - there are 4 chars for address prefix, 16 * 3 chars for dump of 16 eeprom bytes per line and 1 byte for zero ending the string required, i.e. 53 bytes, but only 52 were provided. The one byte missing in stack based buffer buf can cause stack corruption possibly leading to kernel oops, as discovered originally with af9015 driver (af9015: fix stack corruption bug). Signed-off-by: Jan Nikitenko <jan.nikitenko@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-20merge: http://udev.netup.ru/hg/v4l-dvb-commitsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-20merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-miscMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-20merge: http://linuxtv.org/hg/~tap/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-20mt312: fix build for kernels < 2.6.24Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Add compat.h include to get the KERN_CONT define needed for older kernels. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-07-20stv6110 tuner: Read registers through one time i2c_transfer calling.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
2009-07-20Bug fix: stv0900 i2c repeater configuration must be set to manual.Abylay Ospan
From: Abylay Ospan <aospan@netup.ru> 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>
2009-07-20stv6110 tuner: remove unused iq_wiring configuration parameter.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
2009-07-20Add output clock configuration for stv6110 tuner.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
2009-06-17lgs8gxx: add lgs8g75 supportMauro Carvalho Chehab
From: David Wong <davidtlwong@gmail.com> lgs8gxx: add lgs8g75 demodulator support Signed-off-by: David T.L. Wong <davidtlwong@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-11af9013: auto-detect parameters in case of garbage given by appAntti Palosaari
From: Antti Palosaari <crope@iki.fi> Request demodulator auto-detect transmission parameters in case of garbage parameters provided by application for compatibility. That's needed at least for MPlayer compatibility currently. Thanks to Jelle de Jong for reporting issue and providing SSH access to Devin for debugging. Thanks to Devin Heitmueller for hard debug work he did to find that bug. Priority: high Signed-off-by: Antti Palosaari <crope@iki.fi> Cc: Devin Heitmueller <dheitmueller@kernellabs.com> Cc: Jelle de Jong <jelledejong@powercraft.nl>
2009-07-02mt312: Fix checkpatch warningsDouglas Schilling Landgraf
From: Matthias Schwarzott <zzam@gentoo.org> This patch fixes some checkpatch warnings in mt312-driver. Priority: normal Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-07-02Remove unnecessary semicolonsDouglas Schilling Landgraf
From: Joe Perches <joe@perches.com> Priority: normal Signed-off-by: Joe Perches <joe@perches.com> CC: Patrick Boettcher <patrick.boettcher@desy.de> CC: Steven Toth <stoth@linuxtv.org> CC: Igor M. Liplianin <liplianin@netup.ru> CC: Srinivasa Deevi <srinivasa.deevi@conexant.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-06-11dvb-pll: Add support for Alps TDEE4 DVB-C NIMTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> No datasheet, data take from code in flexcop driver. That code rounded down the divisor rather than rounding to nearest, which was probably not intentional and the dvb-pll code will round to nearest. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-06-11dvb-pll: Add support for Samsung TBMU24112 DVB-S NIMTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Tuner parameters determined from code in flexcop driver. That code rounded the divisor down instead of to the nearest value. This was probably not intentional and the dvb-pll version will round to nearest. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-06-11dvb-pll: Add support for Samsung TBDU18132 DVB-S NIMTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Tuner parameters taken from flexcop driver. This PLL has a 17 bit divisor while the dvb-pll driver is designed for 15 bit divisors. It's not a problem as 15 bits is enough for the tuner's entire range. But if a larger range was wanted, it could be done by adding additional bands with the extra divisor bits appearing as band switch bits. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-06-11dvb-pll: Add Samsung TDTC9251DH0 DVB-T NIMTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> No datasheet, tuner data comes from code in flexcop driver. This tuner is also used on the AVerTV 771 supported by the bttv driver, but that code uses a different tuner configuration, which is surprising. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-05-22lnbp21: Add missing newlineMauro Carvalho Chehab
From: Andy Walls <awalls@radix.net> Reported-by: VDR User <user.vdr@gmail.com> Priority: normal Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-29merge: http://kernellabs.com/hg/~mkrufky/lgdt3305Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-28lgdt3305: fix 64bit division in function lgdt3305_set_ifMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: high Signed-off-by: Michael Krufky <kernellabs.com>
2009-05-27merge: http://kernellabs.com/hg/~stoth/tda10048-mergeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-16TDA10048: Missing two I/F's / Pll combinations from the PLL tableSteven Toth
From: Steven Toth <stoth@kernellabs.com> This was causing a lock failure in Australia. Priority: normal Signed-off-by: Steven Toth <stoth@kernellabs.com>
2009-05-15TDA10048: Ensure the I/F changes during DVB-T 6/7/8 bandwidth changes.Steven Toth
From: Steven Toth <stoth@kernellabs.com> TDA10048: Ensure the I/F changes during DVB-T 6/7/8 bandwidth changes. Priority: normal Signed-off-by: Steven Toth <stoth@kernellabs.com>
2009-05-20Reducing print-level of I2C error printsPatrick Boettcher
From: Matthias Schwarzott <zzam@gentoo.org> Reducing the print-levle of I2C error prints cleans some unwanted but unavoidable errors from default syslog-level. Priority: normal Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2009-06-23merge: http://jusst.de/hg/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-21merge: http://kernellabs.com/hg/~mkrufky/bug-fixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-18BUGFIX: An incorrect Carrier Recovery Loop optimization table was beingManu Abraham
loaded for a given chip version. This would cause the optimization in tuning not to be applied and thus a failed expectation, in tuning speed increment. The patch swaps the tables in use. It also fixes a possible one in a million condition where state->dev_ver implies an older Cut (Cut < 2.0, eventhough the driver doesn't attach to any Cut older than 2.0) or even negative (due to a bad I2C bus master driver) for the card combination. Thanks to Mauro Carvalho Chehab <mchehab@infradead.org> for pointing out the issue at large. From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-06-17Fix a redundant compiler warningManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-06-19Create table for customize stv0900 ts registers.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
2009-06-11lgs8gxx: update signal strength scaleMauro Carvalho Chehab
From: David Wong <davidtlwong@gmail.com> lgs8gxx: update signal strength scale Signed-off-by: David T.L. Wong <davidtlwong <at> gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-11lgs8gxx: lgs8913 fake signal strength option default onMauro Carvalho Chehab
From: David Wong <davidtlwong@gmail.com> lgs8gxx: lgs8913 fake signal strength option default on. Original calculation is too slow. Signed-off-by: David T.L. Wong <davidtlwong <at> gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-08Implement reading uncorrected blocks for stv0900Abylay Ospan
From: Abylay Ospan <aospan@netup.ru> Signed-off-by: Abylay Ospan <aospan@netup.ru>
2009-06-14Bug fix: stv0900 register read must using i2c in one transactionAbylay Ospan
From: Abylay Ospan <aospan@netup.ru> Signed-off-by: Abylay Ospan <aospan@netup.ru>
2009-06-19tda10048: add missing entry to pll_tab for 3.8 MHz IFMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Thanks for Terry Wu for pointing out the missing entry. Priority: high Cc: Terry Wu <terrywu2009@gmail.com> Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-06-14au8522: add support for QAM-64 modulation typeDevin Heitmueller
From: Frank Dischner <phaedrus961@gmail.com> Add support for QAM64 modulation type to the au8522 demod driver. Priority: normal Signed-off-by: Frank Dischner <phaedrus961@gmail.com> Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-04-26Link firmware to physical deviceMauro Carvalho Chehab
From: Jean Delvare <khali@linux-fr.org> Use the physical device rather than the i2c adapter as the reference device when loading firmwares. This will prevent the sysfs name collision with i2c-dev that has been reported many times. I may have missed other drivers which need the same fix. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-09merge: http://www.linuxtv.org/hg/~stoth/tda10048Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-05tda10048: Added option to block i2c gate control from other drivers.Steven Toth
From: Steven Toth <stoth@linuxtv.org> Currently, DVB-T is broken and this fixes it. The PVRUSB2 has an odd I2C bus configuration where opening the i2c gate on the digital and analog demod causes the tuner to fail. This needs to be protected against for the PVRUSB2. Priority: high Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2009-05-03STV0900/STV0903: 1. Support Silicon Cut >= 3.0Manu Abraham
2. Remove support for obsolete cuts: 1.0. 1.1. 1.2 3. Try to catch more error cases Driver doesn't now attach to obsolete silcon cuts, It just simply quits. Results in code simplification, with removal of the obsolete cuts. From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-05-02tda10048: Add ability to select I/F at attach time.Steven Toth
From: Steven Toth <stoth@linuxtv.org> tda10048: Add ability to select I/F at attach time. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2009-04-24stv090x.h and stv6110x.h: Fix two trivial compilation breakage errorsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> /home/v4l/master/v4l/stv6110x.h:64: error: expected identifier or '(' before '{' token In file included from /home/v4l/master/v4l/budget.c:52: /home/v4l/master/v4l/stv090x.h:116: error: redefinition of 'stv090x_attach' /home/v4l/master/v4l/stv090x.h:108: error: previous definition of 'stv090x_attach' was here The first pne were due to an extra ';', and the other is due to a duplicated inline function declaration. This patch will need to be merged with the one that added those two headers at -git, to avoid breaking git bisect. CC: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-24merge: http://jusst.de/hg/v4l-dvb/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-23Update demodulator capabilitiesManu Abraham
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-04-23Fix missing wakeup in initManu Abraham
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-04-23Fixes read_status to return 0 in case of no errorManu Abraham
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-04-23Fixes Some register definitionsManu Abraham
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-04-23Fixes:Manu Abraham
* Cut revision was read too late * Missing increment * wrong return value * mismatched entries From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-04-16Fix incorrect TSMODE usageManu Abraham
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-04-16Fix RolloffManu Abraham
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2009-04-16Fix read bug in STV6110xManu Abraham
From: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Andreas Regel <andreas.regel@gmx.de> Signed-off-by: Manu Abraham <manu@linuxtv.org>