summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
AgeCommit message (Collapse)Author
2008-10-20s5h1411: Power down s5h1411 when not in useSteven Toth
From: Devin Heitmueller <devin.heitmueller@gmail.com> Power down the s5h1411 demodulator when not in use (on the Pinnacle 801e, this brings idle power from 123ma down to 84ma). Priority: normal Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Acked-by: Steven Toth <stoth@linuxtv.org>
2008-10-20s5h1411: Skip reconfiguring demod modulation if already at the desired ↵Steven Toth
modulation From: Devin Heitmueller <devin.heitmueller@gmail.com> If we are already at the desired modulation, there is no need to reconfigure the demod (at a tuning time cost) Note that this change revealed that although the datasheet says the demod starts out in VSB-8 mode, the first tuning was failing consistently unless we went through the work of setting the registers. So add a field to denote this case so we always do the enable_frontend call, even if the first tuning request is for VSB-8. Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Reviewed-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Steven Toth <stoth@linuxtv.org>
2008-10-20s5h1411: Perform s5h1411 soft reset after tuningSteven Toth
From: Devin Heitmueller <devin.heitmueller@gmail.com> If you instruct the tuner to change frequencies, it can take up to 2500ms to get a demod lock. By performing a soft reset after the tuning call (which is consistent with how the Pinnacle 801e Windows driver behaves), you get a demod lock inside of 300ms Priority: normal Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Reviewed-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Steven Toth <stoth@linuxtv.org>
2008-10-18s5h1411: Add the #define for an existing supporting I/FSteven Toth
From: Steven Toth <stoth@linuxtv.org> s5h1411: Add the #define for an existing supporting I/F Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16s5h1411: Remove meaningless codeSteven Toth
From: Steven Toth <stoth@linuxtv.org> s5h1411: Remove meaningless code Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16s5h1411: bugfix: Setting serial or parallel mode could destroy bitsSteven Toth
From: Steven Toth <stoth@linuxtv.org> Adding a serialmode function to read/and/or/write the register for safety. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16s5h1411: read_status() locking detection fixes.Steven Toth
From: Steven Toth <stoth@linuxtv.org> This includes new bit definitions for previously unknown bits. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16s5h1411: I/F related bugfix for 3.25 and remove spurious defineSteven Toth
From: Steven Toth <stoth@linuxtv.org> This should improve performance. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16s5h1411: Improvements to the default registersSteven Toth
From: Steven Toth <stoth@linuxtv.org> s5h1411: Improvements to the default registers Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-17Patch to remove warning message during cx88-dvb compilationMauro Carvalho Chehab
From: Igor M. Liplianin <liplianin@me.by> Remove warning message during cx88-dvb compilation. Also fixes double underline in function and struct names. Signed-off-by: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-17dvb: input data pointer of cx24116_writeregN() should be constMauro Carvalho Chehab
From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | drivers/media/dvb/frontends/cx24116.c:573: warning: passing argument 3 of 'cx24116_writeregN' discards qualifiers from pointer target type Make the `data' input pointer parameter of cx24116_writeregN() const to kill the warning. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-16cx24116: optimise emulated auto-pilotdarron@kewl.org
From: Christophe Thommeret <hftom@free.fr> Christophe divulged the following: "Since 8PSK (and higher mod) signals are very likely to have pilot symbols, pilot_auto should start with pilot_on for 8PSK. And since QPSK signals are unlikely to have pilot, pilot_auto should start with pilot_off for QPSK. Without the patch: QPSK tuning delay: ~100ms 8PSK tuning delay: ~900ms with patch: QPSK tuning delay: ~100ms 8PSK tuning delay: ~100ms " This patch does as Cristophe asks. In emulated auto-pilot we choose pilot-on for tuning PSK_8 and pilot-off for tuning QPSK. Priority: normal Signed-off-by: Darron Broad <darron@kewl.org> Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16cx24123: Checkpatch complianceSteven Toth
From: Steven Toth <stoth@linuxtv.org> cx24123: Checkpatch compliance Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16s5h1411: Checkpatch complianceSteven Toth
From: Steven Toth <stoth@linuxtv.org> s5h1411: Checkpatch compliance Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16s5h1409: Checkpatch complianceSteven Toth
From: Steven Toth <stoth@linuxtv.org> s5h1409: Checkpatch compliance Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16cx24116: Checkpatch compliance #3Steven Toth
From: Steven Toth <stoth@linuxtv.org> cx24116: Checkpatch compliance #3 Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16cx22702: Checkpatch complianceSteven Toth
From: Steven Toth <stoth@linuxtv.org> cx22702: Checkpatch compliance Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16tda10048: Checkpatch complianceSteven Toth
From: Steven Toth <stoth@linuxtv.org> tda10048: Checkpatch compliance Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16cx24116: Checkpatch compliance #2Steven Toth
From: Steven Toth <stoth@linuxtv.org> cx24116: Checkpatch compliance #2 Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-16cx24116: Checkpatch complianceSteven Toth
From: Steven Toth <stoth@linuxtv.org> cx24116: Checkpatch compliance Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-13merge: http://linuxtv.org/hg/~stoth/s2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-07cx24116: Change the default SNR units back to percentage by default.Steven Toth
From: Steven Toth <stoth@linuxtv.org> cx24116: Change the default SNR units back to percentage by default. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-06cx24116: Add module parameter to return SNR as ESNO.Steven Toth
From: Steven Toth <stoth@linuxtv.org> I've retained the older percentage code after discussing this with Darron Broad, but made the ESNO option default. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-06S2API: Change _8PSK / _16APSK to PSK_8 and APSK_16Steven Toth
From: Steven Toth <stoth@linuxtv.org> ... and cleanup any drivers using them. I've also removed NBC_QPSK and modified the cx24116 driver to check the delivery_type also, removing some excess namespace baggage. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-05Add support for DvbWorld USB cards with STV0288 demodulator.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Add support for DvbWorld USB cards with STV0288 demodulator. Those cards use Earda EDS-1547 tuner. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-10-05Remove NULL pointer in stb6000 driver.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Remove NULL pointer in stb6000 driver, as it raises error for DvbWorld USB card. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-10-05Allow custom inittab for ST STV0288 demodulator.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Allow custom inittab for ST STV0288 demodulator, as it is needed for DvbWorld USB card. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-10-03cx24116: Sanity checking to data input via S2API to the cx24116 demod.Steven Toth
From: Darron Broad <darron@kewl.org> Add some sanity checking to data input via S2API to the cx24116 demod. This patch is valid for both s2-mfe and s2. It was found when testing KAFFEINE with S2API support that invalid modulation modes amongst other parameters were being delivered to the demod. In order to debug this sanity checking has been added. An example session would involve kaffeine setting QAM_AUTO when querying DVB-T, then later when trying to tune to DVB-S this cached value would be presented in error. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Darron Broad <darron@kewl.org>
2008-10-04merge: http://hg.jannau.net/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-04Whitespace cleanupsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-30correct Makefile symbol for stv0288 frontendJanne Grunau
From: Janne Grunau <janne-dvb@grunau.be> Priority: high Signed-off-by: Janne Grunau <janne-dvb@grunau.be>
2008-10-12merge: http://linuxtv.org/hg/~mkrufky/hvr950qMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-12merge: http://linuxtv.org/hg/~anttip/af9015/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-06af901x: fix some compiler errors and warningsAntti Palosaari
From: Antti Palosaari <crope@iki.fi> - cast firmware data to u8 - remove cpu_to_le16 from switch-case label Priority: normal Signed-off-by: Antti Palosaari <crope@iki.fi>
2008-09-26af901x: clean-upAntti Palosaari
From: Antti Palosaari <crope@iki.fi> - remove unnecessary #undef's Priority: normal Signed-off-by: Antti Palosaari <crope@iki.fi>
2008-09-16af9013: fix compile error coming from u64 divAntti Palosaari
From: Antti Palosaari <crope@iki.fi> - fix compile error coming from u64 div Priority: normal Signed-off-by: Antti Palosaari <crope@iki.fi>
2008-09-15initial driver for af9013 demodulatorAntti Palosaari
From: Antti Palosaari <crope@iki.fi> - initial driver for the Afatech AF9013 demodulator Priority: normal Signed-off-by: Antti Palosaari <crope@iki.fi>
2008-09-07dib7000m: fix powerpc build errorHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The dib7000m_i2c_enumeration() function is not used by any public drivers, however some prototype board use it. So '#if 0' for now, but don't remove it. Thanks to Patrick Boettcher for clarifying this. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> CC: Patrick Boettcher <patrick.boettcher@desy.de>
2008-09-05merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-05budget: Add callback to load firmware for the TDHD1 tunerOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Supply callback to load firmware for the TDHD1 tuner (using request_firmware). Priority: normal Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-09-04v4l-dvb: fix assorted sparse warningsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Fix sparse warnings. None are serious, but cutting down on these helps find future serious sparse warnings/errors. Redid the av7710.c patch based on a suggestion by Oliver Endriss. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-03budget: Support Activy DVB-T with TDHD1 tunerOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Support Fujitsu-Siemens Activy DVB-T card rev AL (ALPS TDHD1-204A tuner). Priority: normal Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-08-30Add dummy FE to the Kconfig-file and fix itPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Reactivated dummy frontend driver which is extremely useful for debugging. Priority: normal Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2008-08-28tda10048_firmware_upload(): fix a memory leakMauro Carvalho Chehab
From: Adrian Bunk <bunk@kernel.org> This patch fixes a memory leak ("fw" wasn't freed). Reported-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-29dvb: fix I2C adapters name sizeMauro Carvalho Chehab
From: Jean Delvare <khali@linux-fr.org> Some DVB drivers are incorrectly assuming that the size of i2c_adapter.name is I2C_NAME_SIZE. Here's a fix. Also change strncpy to strlcpy, as the former is error-prone (and was indeed incorrectly used.) Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Uwe Bugla <uwe.bugla@gmx.de> Reviewed-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-28Steven Toth email address changeSteven Toth
From: Steven Toth <stoth@hauppauge.com> I need this so I can better isolate my linux email from my corporate email. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-08-28s5h1411: Enable QAM_AUTO modeSteven Toth
From: Steven Toth <stoth@hauppauge.com> If apps pass QAM_AUTO then we need to obey it. Priority: normal Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-08-28s5h1409: Enable QAM_AUTO modeSteven Toth
From: Steven Toth <stoth@hauppauge.com> If apps pass QAM_AUTO then we need to obey it. Priority: normal Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-08-22v4l-dvb: fix compile warnings.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-22drx397xD: fix compilation error caused by changeset 71046dfb0853Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Priority: Normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>