summaryrefslogtreecommitdiff
path: root/linux
AgeCommit message (Collapse)Author
2006-08-24isl6421: Release callback installed incorrectlyTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The release callback was installed in ops.release, it should have been ops.release_sec. This prevented to front-end release from getting called. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-08-23merge: 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-23Fix a warning caused by a typo (comma instead of dot-comma)Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-23Fix an error when loading bttv driver on PV M4900.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Previously, this were reported: Ooops: IR config error [card=139] Thanks-to: Hermann Pitton <hermann-pitton@arcor.de> for the solution. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-23Fixes Helper module dependencies against V4L APIsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-22Allow manually selecting the proper helper driversMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> There are several boards on V4L that can work with several different helper modules for audio/video encoding/decoding and similar stuff. This patch adds the capability of choicing between autoselecting the pertinent helper modules for each driver, or to manually selecting them. Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-22Improved descriptions of audio chipsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Also, saa7185 were at wrong place. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-22Split audio/video encoders/decoders from main driversMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Several audio/video encoders/decoders were just bound as if they were part of the core driver. In fact, they are generic enough to be used by other drivers as well, since they use I2C event bus to communicate. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-22Fixed module name, since it is, in fact, a decoder.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-22Add some comments for Kconfig encoders/decoders itensMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-22Separe audio decoders from bttvMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Several audio decoders were just bound as if they were part of bttv driver. In fact, they are generic enough to be used by other drivers as well, since they use I2C event bus to communicate. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-22ks0127: wire up i2c_add_driver() return valueMauro 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-21Restore tuner_ymec_tvf66t5_b_dff_pal_ranges[] to fix UHF switch functionalityMichael Krufky
From: Hermann Pitton <hermann-pitton@arcor.de> The tena_9533_di_pal_ranges use 0x04 instead the original 0x08 for the UHF (range 2) switching. This is wrong and therefore nothing happens. Restore tuner_ymec_tvf66t5_b_dff_pal_ranges[] to make the UHF switch working again. Signed-off-by: Hermann Pitton <hermann-pitton@arcor.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-08-21Fix signedness error in drivers/media/video/vivi.cMauro Carvalho Chehab
From: Eric Sesterhenn <snakebyte@gmx.de> when checking the -Wextra signedness warnings issued by gcc 4.1 I came across this one: drivers/media/video/vivi.c:1001: warning: comparison of unsigned expression < 0 is always false Since videobuf_reqbufs() returns negative values on errors the current code does no real error checking since gcc removes the comparison. This patch fixes this issue by making ret a normal, signed integer. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-21Added missing copyrightMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Several changes at register stuff were done since commit b45009b0288a96a3458f4f8e93cb776678d41875, but I've forgot to add the copyright line for this. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
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>