summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
AgeCommit message (Collapse)Author
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>
2008-08-20drx397xD.c sparse annotationsMauro Carvalho Chehab
From: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-20dvb: drx397xD: checkpatch.pl cleanupsMauro Carvalho Chehab
From: Felipe Balbi <felipe.balbi@nokia.com> This driver sure needs some rework. For now, let's try to clean it up a bit before start reimplementing anything. checkpatch.pl still not happy with this driver after this patch, but the most annoying errors are gone, comments now use C-style only, labels are well placed and some other minor fixes. Some more clean up patches will come as I work on this driver. Please review it carefully. Priority: normal Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Cc: Henk Vergonet <henk.vergonet@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> [mchehab@infradead.org: Manually fixed some conflicts with a previous patch] Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-10-11af9013/m5602: Fix compilation at in-kernelMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> This patch fixes a few errors that were breaking in-kernel compilation. The first one were at m5602 that were including "gspca.h" from another directory. A trivial change at m5602/Makefile fixed the issue. A harder to fix error were caused by the fact that both af9013 and m5602 were declaring an external var called 'debug'. If you compile both modules in-kernel, you'll have troubles. This is even worse, since there are two other drivers outside the subsystem with a similar mistake. To make things worse, gcc do a very great job of fooling the developers, by blaming the wrong lines anf files when such error occurs. So, I was having errors like: drivers/media/dvb/built-in.o: In function `dvb_usercopy': /home/v4l/tokernel/git/drivers/media/dvb/dvb-core/dvbdev.c:403: multiple definition of `debug' drivers/media/video/built-in.o:/home/v4l/tokernel/git/drivers/media/video/bt819.c:264: first defined here or: drivers/media/dvb/built-in.o: In function `dvb_usercopy': /home/v4l/tokernel/git/drivers/media/dvb/dvb-core/dvbdev.c:403: multiple definition of `debug' drivers/media/video/built-in.o:/home/v4l/tokernel/git/drivers/media/video/vpx3220.c:125: first defined here The two above errors caused by m5602 driver. After fixing m5602, I got this: drivers/built-in.o: In function `SiS_SetGroup2': /home/v4l/tokernel/git/drivers/video/sis/init301.c:6996: multiple definition of `debug' arch/x86/kernel/built-in.o:/home/v4l/tokernel/git/arch/x86/kernel/entry_32.S:810: first defined here This one caused by af9013. This patch fixes those erros by prefixing the debug vars with the name of the module, without changing the name of the parameter. Next time, please prepend all extern vars with the name of the module. To avoid bisect troubles, I've folded those changes with the original commits that added those modules at my -git tree. kernel-sync: CC: Jean-Francois Moine <moinejf@free.fr> CC: Antti Palosaari <crope@iki.fi> CC: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-08-09lgs8gl5: fix build warningsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Fix the following build warnings: lgs8gl5.c: In function 'lgs8gl5_read_reg': lgs8gl5.c:95: warning: unused variable 'j' lgs8gl5.c: In function 'lgs8gl5_update_alt_reg': lgs8gl5.c:135: warning: unused variable 'j' lgs8gl5.c: In function 'lgs8gl5_read_ber': lgs8gl5.c:300: warning: unused variable 'state' lgs8gl5.c: In function 'lgs8gl5_read_ucblocks': lgs8gl5.c:332: warning: unused variable 'state' lgs8gl5.c: At top level: lgs8gl5.c:181: warning: 'lgs8gl5_set_inversion' defined but not used Priority: normal Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-09cxusb: add lgs8gl5 and support for Magic-Pro DMB-TH usb stickMichael Krufky
From: Timothy Lee <timothy.lee@siriushk.com> Add support for Magic-Pro DMB-TH usb stick. DMB-TH is the HDTV broadcast standard used in Hong Kong and China. [...] I've also attached a second patch against the dvb-apps repository which adds a DMB-TH scan file for Hong Kong. Since the ProHDTV stick contains a DMB-TH decoder (lgs8gl5) onboard, it outputs MPEG-TS to the PC. Priority: normal Signed-off-by: Timothy Lee <timothy.lee@siriushk.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-09fix DVB_FE_CUSTOMISE for DVB_DIB7000P and DVB_TUNER_DIB0070 with dvb-usb-cxusbMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Allow dvb-usb-cxusb to be built without dib7000p or dib0070 selected Priority: normal Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-09cxusb: add support for DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2)Michael Krufky
From: Anton Blanchard <anton@samba.org> Add support for revision 2 of the DViCO FusionHDTV DVB-T Dual Digital 4 which has new tuners and demodulators (2 x DIB7070p). With this patch both DVB reception and IR works. The dib7000p driver currently hardwires the output mode to OUTMODE_MPEG2_SERIAL regardless of what we ask for. Modify it to allow OUTMODE_MPEG2_PAR_GATED_CLK to be set. Longer term we should remove the check completely and set the output mode correctly in all the callers. Add Kconfig bits to ensure the dib7000p and dib0070 modules are enabled. It would be nice to only do this for the !DVB_FE_CUSTOMISE case, but this is what the other DIB7070 module does (there are a number of module dependencies in the attach code). Priority: normal Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-04merge: http://linuxtv.org/hg/~hgoede/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-01au8522: remove if frequency settings from vsb/qam modulation tablesMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Since IF frequency is set after the vsb/qam modulation tables are written, remove the redundant register settings from the vsb/qam modulation tables. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-01au8522: clean up function au8522_set_ifMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> re-write this function to make it simpler Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-07-28DVB_DRX397XD: remove FW_LOADER selectMauro Carvalho Chehab
From: Adrian Bunk <bunk@kernel.org> Also for the new DVB_DRX397XD driver the FW_LOADER select and the corresponding dependency on HOTPLUG can be removed. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-27au8522: add mechanism to configure IF frequency for vsb and qamMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Add a mechanism to configure IF frequency for vsb and qam. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-07-21replace __FUNCTION__ with __func__Mauro Carvalho Chehab
From: Alexander Beregalov <a.beregalov@gmail.com> v4l/drx397xD: replace __FUNCTION__ with __func__ Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-28merge: http://linuxtv.org/hg/~mkrufky/woodburyMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-27remove select's of FW_LOADERMauro Carvalho Chehab
From: Adrian Bunk <bunk@kernel.org> After commit d9b19199e4894089456aaad295023263b5225c1a (always enable FW_LOADER unless EMBEDDED=y) we can remove the FW_LOADER select's and corresponding dependencies on HOTPLUG. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-20Fix macro name at z0194a.hMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> As reported by Hans Verkuil: In file included from /home/v4l/master/v4l/dw2102.c:14: /home/v4l/master/v4l/z0194a.h:93: error: 'STV0229_LOCKOUTPUT_1' undeclared here (not in a function) This is due to some typos that were fixed on stv0299. This patch renames it in accord with that fix. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-20Adds support for Dvbworld DVB-S 2102 USB cardMauro Carvalho Chehab
From: Igor M Liplianin <liplianin@me.by> Signed-off-by: Igor M Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-17backport commit bc179153ae2334efe28cf4f3300e024da7d83753Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Author: David Woodhouse <dwmw2@infradead.org> Date: Sat May 24 00:12:23 2008 +0100 dvb frontends: treat firmware data as const kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-15tda10023: Fix typo in tda10023_attach dummy routineOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Fix compiler warning caused by a typo in the tda10023_attach dummy routine. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-07-08Fix a const pointer assignment error in the drx397xD demodulator driverMauro Carvalho Chehab
From: David Howells <dhowells@redhat.com> Fix an assignment of a const pointer to a non-const pointer in the drx397xD demodulator driver. This was introduced in patch eb9bd0e567365d4f607d32d8c41e201da65aa971. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-08v4l-dvb: remove support for kernels < 2.6.16Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Phase 4 removes the compatibility support for kernels < 2.6.16. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-06-27lgdt330x: add additional FEC control configuration optionMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Allow the following configuration, by passing clock_polarity_flip = 2: Enable FEC automatic reset. Disable spectrum inversion. Enable viterbi resynchronization. Set polarity indicator high. Enable error flag insertion. Thanks to Daniel Gimpelevich, for discovering that this configuration is used on the AVerMedia AVerTVHD Volar. Cc: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-06-22merge: http://linuxtv.org/hg/~mkrufky/hvr950qMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-21au8522: prevent false-positive lock statusMichael Krufky
From: Steven Toth <stoth@linuxtv.org> This decreases scan time in Queens, New York from 28 minutes to 7 minutes, with the exact same services found. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-06-20stv0299: Uncorrected block count and bit error rate fixedOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Fix uncorrected block counter and bit error rate to follow DVB API spec: - Unsupported controls return -ENOSYS. - UNC must never be set to 0. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-06-20tda10023: Fix possible kernel oops during initialisationOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> If the i2c write fails during initialisation, an oops happens because state->frontend.dvb is still undefined. Fixed. Thanks to Sigmund Augdal for reporting this bug, and to Hartmut Birr for suggesting the fix. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Thanks-to: Sigmund Augdal <sigmund@snap.tv> Thanks-to: Hartmut Birr <e9hack@gmail.com>
2008-06-15merge: http://linuxtv.org/hg/~mkrufky/hvr950qMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-13au8522: tuning optimizationsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> If the current modulation and frequency is already set to the desired parameters, then don't re-tune. Don't store current frequency until after we've tuned successfully. Force a re-tune after resume from standby. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-06-15merge: http://linuxtv.org/hg/~anttip/anysee/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-14Improve error message at tda1004x_attachMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> When an error occurs at firmware loading, sometimes, tda1004x stops answering. Instead of reporting such error, attach code were assuming that the device were answering an invalid ID (0xff). This can be seen when enabling debug options: tda1004x: tda1004x_read_byte: reg=0x0 tda1004x: tda1004x_read_byte: error reg=0x0, ret=-5 Now, instead of reporting an invalid ID, it will report the correct error: tda10046: chip is not answering. Giving up. saa7133[0]/dvb: failed to attach tda10046 saa7133[0]/dvb: frontend initialization failed A possible improvement would be trying to reset the device. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>