summaryrefslogtreecommitdiff
path: root/linux
AgeCommit message (Collapse)Author
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-19PATCH: Club 3D zap250miniPatrick Boettcher
From: Jochen Issing <jochen@isign-softart.de> After some structural changes, here comes the updated patch for the Club 3D zap250mini USB dvb device. Adding support for a WideView-based device with a different "COLD" ID. Signed-off-by: Jochen Issing <jochen.issing@isign-softart.de> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-19merge from mainPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> merge from main Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-18Fix an array overflow on bt866Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The Coverity checker spotted the following two array overflows. Registers 0xcc and 0xdc were cached on reg[] array, with only 128 elements, instead of 256. Thanks-to: Adrian Bunk <bunk@stusta.de> for pointing this CC: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-18Make tvp5150 an independent Kconfig itemMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-18TVP5150 routing logic were broken.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> As pointed by The Coverity checker, commit c7c0b34c27bbf0671807e902fbfea6270c8f138d broked input selection. Thanks-to: Adrian Bunk <bunk@stusta.de> for pointing this CC: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-17Enable audio DMA restart on channel change even when cx88-alsa is compiledRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> cx88-alsa can be compiled in (in distro built kernels, for example), but not used. In those cases, the audio DMA restart is needed for proper sound on NICAM channels. This patch enables the DMA restart even with ALSA, but the functions now check if cx88-alsa is really active. Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.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-15drivers/media/dvb/dvb-usb/dibusb-mb.c: NULL dereferencePatrick Boettcher
From: Adrian Bunk <bunk@stusta.de> The Coverity checker spotted the following "we dereference d->fe only when we know it's NULL" bug: <-- snip --> ... static int dibusb_dib3000mb_frontend_attach(struct dvb_usb_device *d) { ... if ((d->fe = dib3000mb_attach(&demod_cfg,&d->i2c_adap,&st->ops)) == NULL) { d->fe->ops.tuner_ops.init = dvb_usb_tuner_init_i2c; d->fe->ops.tuner_ops.set_params = dvb_usb_tuner_set_params_i2c; return -ENODEV; } ... <-- snip --> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-13merge: http://linuxtv.org/hg/~quincy/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-12CONFIG_PM=n slim: drivers/media/video/*Mauro Carvalho Chehab
From: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-12Offset parameter permission were 0x666, instead of 0x664Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Although not dangerous, it may allow a normal user with access to a machine to untune a TV channel. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-12add support for knc one dvb-s plus with 1894:0011Andrew de Quincey
From: Christoph Pfister <christophpfister@gmail.com> Apparently there are two types of knc1 dvb-s plus cards with different tuners (as for the knc1 dvb-s ones). This patch adds support for those cards with subsystem id 1894:0011. Signed-off-by: Christoph Pfister <christophpfister@gmail.com> Successfully tested by: Benjamin Weber <benny1990@gmail.com> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-08-12Fix KNC1 DVBC supportAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> This actually needs the same configuration as the other DVBC cards; simply no one had managed to test before to find out. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-08-10Reset USB part of DViCO Dual Digital during PCI driver attachChris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> If the FX2 does not reset properly during reboot, it can present an invalid USB device ID and fail to attach. Prevent this situation from occuring by resetting the USB part of the card when the PCI part probes. Also fix the GPIO configurations so that analog capture will not inadvertantly reset the USB part. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
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[saa7146] Fixed image grabbing (VIDIOCGMBUF ioctl)Oliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Fixed regression reported by Peter Holik: Image grabbing failed because of invalid config option VIDEO_V4L1_COMPAT. Should be CONFIG_VIDEO_V4L1_COMPAT. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
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-09[dvb_attach] dvb_frontend_detach fixOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> dvb_frontend_detach() used invalid config option CONFIG_DVB_DETACH, so dvb_frontend_detach() did not call symbol_put_addr(). Replaced CONFIG_DVB_DETACH by CONFIG_DVB_CORE_ATTACH. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-08-08merge: http://linuxtv.org/hg/~tap/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-08Fix a warning on PPC64Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c: In function 'set_standard': drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c:33: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'v4l2_std_id' Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-08git-dvb: cadet build fixMauro Carvalho Chehab
From: Andrew Morton <akpm@osdl.org> drivers/media/radio/radio-cadet.c: In function 'cadet_do_ioctl': drivers/media/radio/radio-cadet.c:362: warning: implicit declaration of function 'KERNEL_VERSION' Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
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-07Whitespace cleanupTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> from whitespace cleaning script Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-08-07Add missing include linux/mm.h to some compat codeTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Some compat functions for kernel < 2.6.15 needed linux/mm.h, which wasn't included. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-08-07Fix possible crash in Hauppauge eeprom readingTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> If an eeprom defined two tuners and they supported more than eight standards combined (as opposed to each), it would overflow an array. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-08-07remove null chars from dvb namesMauro Carvalho Chehab
From: Dave Jones <davej@redhat.com> DVB null terminates its device names, which seems odd, and should be unnecessary. Signed-off-by: Dave Jones <davej@redhat.com> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.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-07[av7110] Support Grundig DVB-T tuner for sub-system 13c2:0001Oliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Some DVB-T cards with Grundig 29504-401 tuner use subsystem id 13c2:0001 (reported by Stuart Butterfield). Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
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-06Fix most Compat32 stuff on V4L2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Tested on x64 with a bttv board. Most Get ioctls are fixed. The only non-completely working one is VIDIOCGAUDIO. All other IOR ioctls give the same results on x86_64 and i386 architectures. Thanks to Alastair Poole <netstar@gatheringofgray.com> for part of this patch and tests on ppc64. Signed-off-by: Alastair Poole <netstar@gatheringofgray.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-06On some cases, depth were not returned.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.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-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-06merge: 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-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-06flexcop/nxt200x attach fixChris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> Address another case where the test in dvb-pll to see if a tuner's PLL responds when attaching may fail. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-08-05cleanup whitespace in radio-cadet.cMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The old strip-trailing-whitespaces.sh script from v4l-dvb cvs found these. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-08-05whitespace cleanups for cx88-dvb and saa7134-dvbMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch cleans up some whitespace problems after the dvb_attach changes in cx88-dvb.c and saa7134-dvb.c, and converts some capitalized i2c address constants to lowercase. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-08-05fix dvb_pll_attach for nxt2004-based cardsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The test in dvb-pll to see if a tuner's PLL responds when attaching fails on NXT2004 based boards before the firmware is loaded. This patch allows us to avoid this test by not passing an I2C bus handle to the dvb_pll_attach routine, just as Chris Pascoe has done for MT352 and ZL10353 based boards when used in cx88-dvb. CC: Chris Pascoe <c.pascoe@itee.uq.edu.au> CC: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Michael Krufky <mkrufky@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>
2006-08-05Change BER configManu Abraham
Change the bit error counter configuration to be the actual BER. Originally it was reporting UCB From: Yeasah Pell <yeasah@schwide.com> Signed-off-by: Yeasah Pell <yeasah@schwide.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-08-05Soft decision thresholdManu Abraham
Set the Soft decision threshold properly for the specified FEC From: Yeasah Pell <yeasah@schwide.com> Signed-off-by: Yeasah Pell <yeasah@schwide.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-08-05Fix Circular dependenciesManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-08-05Check all errorsManu Abraham
From: Yeasah Pell <yeasah@schwide.com> Signed-off-by: Yeasah Pell <yeasah@shwide.com> Signed-off-by: Manu Abraham <manu@linuxtv.org> HGr changed linux/drivers/media/dvb/bt8xx/dst.c