summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
AgeCommit message (Collapse)Author
2009-08-01merge: http://kernellabs.com/hg/~mkrufky/sms1xxx-unbreakMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-28af9015: Fix for crash in dvb-usb-af9015Mauro Carvalho Chehab
From: Nils Kassube <kassube@gmx.net> Moving BOOT fixes problem. Priority: normal Signed-off-by: Nils Kassube <kassube@gmx.net> Acked-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-12sms1xxx: fix broken Hauppauge devicesMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> The current GPIO configuration breaks all Hauppauge devices. The code being removed affects Hauppauge devices only, and is the cause of the breakage. Priority: high Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-07-27af9015: avoid magically sized temporary buffer in eeprom_dumpMauro Carvalho Chehab
From: Jan Nikitenko <jan.nikitenko@gmail.com> Replace printing to magically sized temporary buffer with use of KERN_CONT for continual printing of eeprom registers dump. Since deb_info is defined as dprintk, which is conditionally defined to printk without additional parameters, meaning that deb_info is equivalent to direct printk (without adding KERN_ facility), we can use KERN_DEBUG and KERN_CONT in there, eliminating the need for sprintf into temporary buffer with not easily readable/magical size. Though it's strange, that deb_info definition uses printk without KERN_ facility and callers don't use it either. Signed-off-by: Jan Nikitenko <jan.nikitenko@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
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-22Create card parameters array in SDMC DM1105 driver.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Create card parameters array in SDMC DM1105 driver. It is useful for cards with the same pci id, but different tuners, lnb power control circuits, etc. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2009-07-21backport commit 405f55712dfe464b3240d7816cc4fe4174831be2Mauro Carvalho Chehab
kernel-sync: Author: Alexey Dobriyan <adobriyan@gmail.com> Date: Sat Jul 11 22:08:37 2009 +0400 headers: smp_lock.h redux * Remove smp_lock.h from files which don't need it (including some headers!) * Add smp_lock.h to files which do need it * Make smp_lock.h include conditional in hardirq.h It's needed only for one kernel_locked() usage which is under CONFIG_PREEMPT This will make hardirq.h inclusion cheaper for every PREEMPT=n config (which includes allmodconfig/allyesconfig, BTW) Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-21flexcop: fix compile errorHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
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-07-19merge: http://linuxtv.org/hg/~obi/dmx-add-pidMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-15Remove a useless check from dvb_dmx_swfilter_packet()Andreas Oberritter
From: Andreas Oberritter <obi@linuxtv.org> Values for 'pid' range from 0 to 0x1fff. Therefore 'feed->pid' can never be equal to both 'pid' and 0x2000. This makes the continue statement have no effect. Priority: normal Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
2009-07-15Add two new ioctls: DMX_ADD_PID and DMX_REMOVE_PIDAndreas Oberritter
From: Andreas Oberritter <obi@linuxtv.org> DMX_ADD_PID allows to add multiple PIDs to a transport stream filter previously set up with DMX_SET_PES_FILTER and output=DMX_OUT_TSDEMUX_TAP. DMX_REMOVE_PID is used to drop a PID from a filter. These ioctls are to be used by readers of /dev/dvb/adapterX/demuxY. They may be called at any time, i.e. before or after the first filter on the shared file descriptor was started. They make it possible to record multiple services without the need to de- or re-multiplex TS packets. To accomplish this, dmxdev_filter->feed.ts has been converted to a list of struct dmxdev_feeds, each containing a PID value and a pointer to a struct dmx_ts_feed. Priority: normal Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
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-05merge: http://www.linuxtv.org/hg/~dougsland/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-05backport commit 56aec8d874e222f68baffbda33322c9be4cbf2eaMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: Author: Samuel Ortiz <sameo@linux.intel.com> Date: Wed May 27 00:49:34 2009 +0200 firmware: dvb/dvb-usb: prepare for FIRMWARE_NAME_MAX removal We're going to remove the FIRMWARE_NAME_MAX definition in order to avoid any firmware name length restriction. This patch changes the dvb_usb_device_properties firmware field accordingly. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
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 redundant tests on unsignedDouglas Schilling Landgraf
From: Roel Kluin <roel.kluin@gmail.com> input, inp and i are unsigned. When negative they are wrapped and caught by the other test. Priority: normal Signed-off-by: Roel Kluin <roel.kluin@gmail.com> CC: Andy Walls <awalls@radix.net> 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-11b2c2: Use dvb-pll for Cablestar2Trent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The dvb-pll code should do the same thing that alps_tdee4_stv0297_tuner_set_params() was doing. Except the dvb-pll code will check for tuner presence when attaching, while the old code didn't. This tuner appears to not be behind the stv0297's I2C gate but is instead on a different I2C adapter provided by the flexcop chip. The old code would turn the I2C gate off each time the tuner was used. I've changed it to turn the gate off when the tuner is attached and then disable the gate control function. This should result in the gate staying off, which should be even better. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-06-11b2c2: Use dvb-pll for Skystar2 rev 2.3 and rev 2.6Trent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The code in skystar23_samsung_tbdu18132_tuner_set_params() and samsung_tbmu24112_tuner_set_params() is equivalent to what the dvb-pll code does. There could be an issue because the dvb-pll code will probe to check for the tuner, while the previous code didn't do any checks. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-06-11b2c2: Use dvb-pll for AirStar DVB-T's tunerTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The code in samsung_tdtc9251dh0_calc_regs() is equivalent to what dvb-pll's code does. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-06-11b2c2: fix frontends compiled into kernelTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> A recent patch didn't take into account that frontends can be compiled into the kernel. Or that frontends compiled as modules can't be used by the b2c2 driver if it is not a module itself. Some frontends require multiple drivers, e.g. a demod driver and a tuner driver. The code for the frontend support was getting added if the demod driver was available. Change this to also require any needed tuner or SEC drivers as well. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
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-06-11merge: http://www.kernellabs.com/hg/~pboettcher/v4l-dvb-fixes/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-11merge: http://udev.netup.ru/hg/v4l-dvb-aospanMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-11b2c2: Fix problems with frontend attachmentPatrick Boettcher
From: Trent Piepho <xyzzy@speakeasy.org> The frontend attachment code didn't handle cases where the frontend partially failed to attach. For instance, when the demod was attached successfully but the tuner driver wasn't compiled or fails to init for some reason. In these cases we try to clean up the partial attachment and fail instead of proceeding with a broken frontend. If frontend registration fails, clean up with dvb_frontend_detach() rather than just calling the frontend's main release method. The former does some additional stuff, like release an attached tuner and take care of putting symbols when dynamic binding is used. In skystar2_rev23_attach() it's not necessary to set fc->dev_type, that gets set before skystar2_rev23_attach() is called. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com>
2009-06-06TS continuity check: show error message when discontinuity detected or TEI ↵Abylay Ospan
flag detected in header Signed-off-by: Abylay Ospan <aospan@netup.ru>
2009-06-01merge: http://linuxtv.org/hg/~anttip/af9015/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-31af9015: support for Genius TVGo DVB-T03Antti Palosaari
From: Antti Palosaari <crope@iki.fi> Add USB ID (0458:4012) for Genius TVGo DVB-T03. Thanks to Petr Vodicka <vodicka.petr@email.cz> for reporting and testing. Priority: normal Signed-off-by: Antti Palosaari <crope@iki.fi> Tested-by: Petr Vodicka <vodicka.petr@email.cz>
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/~dheitmueller/dvb-frontend-exit-fixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-27Building system: Restore compilation with kernels older than 2.6.29Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Mostly due to ir-kdb-i2c, but also due to two new drivers, compilation with kernels older than 2.6.29 were broken. This quick and dirty changeset, generated semi-automatically, restaures backport to the subsystem by adding lots of #ifs. It is possible to write a much more small changeset that would restore backport without adding so many ifs, but, due to the lack of time, this will also solve it. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.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-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-22flexcop-pci: dmesg visible names brokenMauro Carvalho Chehab
From: Matthias Schwarzott <zzam@gentoo.org> Changeset 1589a993f074124c3edfff03656e910bb472eeaa broke user visible names of flexcop-pci devices, as it did reorder the enum of card types, but did not adjust the array containing the card names. Reorder the names, and uses [FC_AIR_DVBT] = "Air2PC/AirStar 2 DVB-T" assignment style for more clarity. It also adds the revision Number to the name for SkyStar rev. 2.3 and rev 2.6 as I think it is useful to see in log output. Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-20dvb_frontend: fix case where fepriv->exit not resetDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> The fact that we now explicitly set fepriv->exit = 1 when the thread is shutting down exposed an edge case where it was not being reset back to zero once the thread went away in some cases. This resulted in failures in cases where the frontend was closed, and then opened O_RDONLY, since in that case the thread is not being restarted but it was checking the fepriv->exit flag. Thanks to Thierry Lelegard, who and encountered and debugged a large portion of the issue in the same twelve hours that I did (as well as testing my patch). Priority: high Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Cc: Thierry Lelegard <thierry.lelegard@tv-numeric.com>
2009-05-19Siano: smscore - remove redundant defineMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Remove redundant define. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-19Siano: smsendien - declare function as externMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Declare the object function as 'extern' Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>