summaryrefslogtreecommitdiff
path: root/linux
AgeCommit message (Collapse)Author
2006-07-18Fix dvb-pll autoprobingAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Trent Piepho pointed out that the pll test i2c transmission is slightly wrong; it was transmitting a zero length message, and then reading from the PLL. This was wrong; it should only be transmitting a single read i2c message. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-18videodev: remove bad kfree()Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This fixes a previous commit -- We shouldnt kfree(&vfd->class_dev) inside video_register_device, since the resource is not allocated inside this function. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-18pvrusb2: check the return value of class_device_create_fileMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> class_device_create_file is marked as __must_check, so its return value must be checked. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-18pvrusb2: check the return value of class_device_registerMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> If an error occurs during class_device_register, print an error message, kfree(class_dev) and return. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-18videodev: check the return value of class_device_registerMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> If an error occurs during class_device_register, print an error message, kfree(&vfd->class_dev), and return the error code to the caller of video_register_device. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-18videodev: replace class_device_create_file with video_device_create_fileMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch replaces the call to class_device_create_file with video_device_create_file, as defined in v4l2-dev.h, so that the return value of class_device_create_file will be checked. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-18Check __must_check warning in video_device_create_fileMauro Carvalho Chehab
From: Michael Krufky <mkrufky@linuxtv.org> This patch moves the check from bttv-driver.c into v4l2-dev.h, because all other callers of video_device_create_file must also be checked. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> cc: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-18video_device_create_file should return the value of class_device_create_fileMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> video_device_create_file was declared as a void, but instead should return the int value of class_device_create_file Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-17Set the Auxiliary Byte when tuning LG H06xF in analog modeMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> With the LG H06xF tuners, an auxiliary byte must be sent after the standard four-byte i2c sequence. The code that does this is currently in the wrong place, causing random bytes to be written to the tuner over i2c in the set_type function. This patch moves this code from set_type to default_set_tv_freq. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-17Bugfix for keycode calculation on NPG remotesRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Fix keycode calculations (all codes for this remote were wrong due to a lost + sign) Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-07-16[PATCH] Freecom DVB-T stick with ID 14aa:0225Patrick Boettcher
From: Alexander Tuschen <atuschen@web.de> Ok, here is the working patch for the Freecom DVB-T stick with USB-ID 14aa:0225. It uses the Firmware-file, wich Erich Focht created and wich can be obtainded from http://home.arcor.de/efocht/dvb-usb-wt220u-fc03.fw Also the original patch is from Erich. It adds the proper USB-IDs and I only had to change the endpoint of the MPEG-2 data-transfer to 0x86. Signed-off-by: Alexander Tuschen <atuschen@web.de> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-07-16Fix possible dvb-pll oopsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Supplying a NULL i2c adapter to dvb_pll_attach is allowed, for example with mt352 demods. However, the pll i2c probe will segfault because it does not check for this. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-15Saa7134: rename dmasound_{init, exit}Mauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> Two different exports with the same name are not a good idea: $ grep -r EXPORT_SYMBOL\(dmasound_init\) * drivers/media/video/saa7134/saa7134-core.c:EXPORT_SYMBOL(dmasound_init); sound/oss/dmasound/dmasound_core.c:EXPORT_SYMBOL(dmasound_init); $ This patch renames the saa7134 dmasound_{init,exit} to saa7134_dmasound_{init,exit}. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-15Added PCI ID of the Genius VideoWonder Dual CardbusHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> It is just another Lifeview clone Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-07-15Added PCI ID for AverMedia DVB-T 777 with SAA7133Hartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> The change is just an additional PCI ID Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-07-15added support for the md8800 quadro boardHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> Analog TV, CVBS, S-video and DVB-T are working, DVB-S not yet Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-07-15Support non interlaced capture by default for saa713xHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> This patch just sets the option noninterlaced to 1 by default since it has no known disadvantages. It is still possibe to get the old behaviour by setting noninterlaced=0. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-07-15Previous patch broke compilation for kernels <2.6.18. Fixing.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-15Add some mutex to semaphore backward compatability changesTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Standard back compatability changes, for struct mutex added after 2.6.15. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-15Add compat.h code for schedule_timeout_interruptible()Trent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Add a static inline version of schedule_timeout_interruptible(), it's only two lines, to compat.h. This will make bt866 and ks0127 compile with pre 2.6.14 kernels. Remove #if/#else code from msp3400, saa7134-tvaudio, and vivi that used to handle this. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-15From: Randy Dunlap <rdunlap@xenotime.net>Mauro Carvalho Chehab
Check all __must_check warnings in bttv. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-10Remove stradis MODULE_DEVICE_INFO definitionAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> To prevent autoloading of the driver, as it then conflicts with every other saa7146 device in existence. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-10Fix typo in comment for TDA9819Andrew de Quincey
From: Marco Schluessler <marco@lordzodiac.de> Fix typo in comment for TDA9819 Signed-off-by: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-10Fix broken tda665x PLL definition.Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> It was pointed out on the mailing list that this PLL definition is broken. I went back to the original dibusb driver and confirmed it used to use these settings, as well as consulting the datasheet. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-10Fix unstable DISEQC behaviour on budget cards.Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Use the stv0299 native DISEQC implementation instead of the bitbanging one as required by the ves1893. This was originally found by Oliver Endriss. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-07-10Fix DISEQC regressionAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> The changes to add frontend reinitialisation moved the position where the init() op is called into the frontend thread. Unfortunately, since DISEQC operations do not use the frontend thread, this meant that DISEQC could be called against an uninitalised frontend, leading to all sorts of trouble. Patch fixes this by reinstating the original fronted intialisation call. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-10Add dvbpll i2c device check.Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Some cards have multiple possible addresses for their PLLs, with no other way to tell if a PLL is present or not apart from probing to see if an i2c device is present. This adds a quick check to see if an i2c device is present at the given i2c address. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org>
2006-06-30Add support for the TCL M2523_3DB_E tuner.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-06-30Missing statement in drivers/media/dvb/frontends/cx22700.cMauro Carvalho Chehab
From: Eric Sesterhenn <snakebyte@gmx.de> Stumbled over this because of coverity (id #492), seems like we are missing a return statement here and fail to do proper bounds checking. If this assumption is false we should at least change the identation to make it clear Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-30Clean out a zillion sparse warnings in pvrusb2Mauro Carvalho Chehab
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-30Pvrusb2/: possible cleanupsMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> This patch contains the following possible cleanups: - make needlessly global code static - #if 0 unused global functions Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-30merge: http://linuxtv.org/hg/~mkrufky/cx88Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-30merge: http://www.linuxtv.org/hg/~manu/v4l-algoMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-30fix: use swzigzag for swalgoManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-06-29cx88: add support for Geniatech Digistar / Digiwave 103gMichael Krufky
From: Saqeb Akhter <johoja@gmail.com> This patch adds support for the Geniatech Digistar, aka Digiwave 103g DVB-S card. Signed-off-by: Saqeb Akhter <johoja@gmail.com> Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-06-29cx24123: fix set_voltage function according to the specsMichael Krufky
From: Saqeb Akhter <johoja@gmail.com> The set_voltage function in cx24123.c was corrected to match how it is described in the CX24123 specs, producing the correct behaviour for cards that require it. Signed-off-by: Saqeb Akhter <johoja@gmail.com> Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-06-29TDA9887_SET_CONFIG should only be handled by the tda9887.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-06-29Fix CI interface on PRO KNC1 cardsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> The original driver had a restriction that if a card as an saa7113 chip, then it cannot have a CI interface. This is not the case. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-06-29Fix CI on old KNC1 DVBC cardsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> These cards do not need the tda10021 configuration change when data is streamed through a CAM module. This disables it for these ones. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-06-29The FE_SET_FRONTEND_TUNE_MODE ioctl always returns EOPNOTSUPPAndrew de Quincey
From: Trent Piepho <xyzzy@speakeasy.org> When someone added the front-end ioctl FE_SET_FRONTEND_TUNE_MODE, they forgot to set the return value to 0. It always returns EOPNOTSUPP, causing problems for programmers who actually check for error conditions. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-06-29Eliminate use of tda9887 from pvrusb2 driverMike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
2006-06-29Always log pvrusb2 device register / unregister eventsMike Isely
From: Mike Isely <isely@pobox.com> Previously the pvrusb2 driver was conditionalizing printing of the device register / unregister messages against a debug mask. This sort of information should always appear, thus this patch. Signed-off-by: Mike Isely <isely@pobox.com>
2006-06-28Fix tveeprom supported standardsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The supported standards by the tuner on tveeprom were too restricted. It were showing just the main format, instead of the format family. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-28merge: http://linuxtv.org/hg/~hverkuil/tda9887Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-28Subject: videocodec: make 1-bit fields unsignedMauro Carvalho Chehab
From: Randy Dunlap <rdunlap@xenotime.net> Make 1-bit bitfields unsigned. Removes 68 sparse errors like these: drivers/media/video/videocodec.h:225:17: error: dubious one-bit signed bitfield drivers/media/video/msp3400-driver.h:93:32: error: dubious one-bit signed bitfield Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-27merge: http://linuxtv.org/hg/~mkrufky/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-27kernel sync: use list_move() and fix a typoMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch works fine with previous kernel versions (tested up to 2.6.12). kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-26Remove all instances of request_module("tda9887")Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> We should no longer try to load the tda9887 module, because it no longer exists. The tda9887 driver has been merged into the tuner module. This patch removes all instances of request_module("tda9887") from the following video4linux drivers: bttv, cx88, em28xx and saa7134. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-06-27merge: http://linuxtv.org/hg/~mkrufky/blackbirdMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-27Fix warning when compiling on 64 bit machinesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>