summaryrefslogtreecommitdiff
path: root/linux
AgeCommit message (Collapse)Author
2005-12-13[PATCH] Decrease number of pointer derefs in flexcop-fe-tuner.cPatrick Boettcher
From: Jesper Juhl Here's a small patch to decrease the number of pointer derefs in drivers/media/dvb/b2c2/flexcop-fe-tuner.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - Improved readability -- orig: text data bss dec hex filename 3072 424 0 3496 da8 drivers/media/dvb/b2c2/flexcop-fe-tuner.o patched: text data bss dec hex filename 3041 424 0 3465 d89 drivers/media/dvb/b2c2/flexcop-fe-tuner.o -- Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-12-13More cx88-alsa changes. Doesn't crash on removal anymoreRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> - Bugfixes to allow the module to be removed without hard-locking the system Signed-off-by:
2005-12-12Reverted patchset 3127 since it breaks pvrusb2 compilation.Mauro Carvalho Chehab
kernel-sync - patchset 3127 does remove old stuff from videodev.h, but breaks some drivers in kernel and pvrusb2. - should be reapplied later. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-11Makes v4l compile under 2.4 kernelsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br> kernel-sync - Makes V4L compile with kernel 2.4 - em28xx doesn't compile with 2.4 kernels. Additional work is necessary to make it compile. Thanks-to: Stefan Leichter <Stefan.Leichter@camLine.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-11added ntsc parameter to tuner and more standardized debugsMauro Carvalho Chehab
- debug message changed to be coherent with other modules - added ntsc parameter - parameters moved to the beginning at the file - tuner_status moved to a better position. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-11"Philips 1236D ATSC/NTSC dual in" - fix typo.Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-11[DVB] cinergyT2: cinergyt2_register_rc() should return 0 on successJohannes Stezenbach
From: David S. Miller <davem@davemloft.net> kernel-sync Currently, the version when ENABLE_RC is defined, falls through to the end of the function without returning anything. Signed-off-by: David S. Miller <davem@davemloft.net>
2005-12-11[PATCH] Fix an OOPS is CinergyT2Johannes Stezenbach
From: Dmitry Torokhov <dtor@mail.ru> kernel-sync Fix an OOPS is CinergyT2 driver when registering IR remote Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-12-10Some fixes at cx88 controlsMauro Carvalho Chehab
- now, default control values at cx88_cx8800_ctls are honored - default value for contrast/saturation were changed to be in line with available documentation for the chipset; - Removed some bad coding at set_control; - U/V Saturation now changes proportionally Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-10ir-kbd-gpio is now part of bttvRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Merged ir-kbd-gpio into bttv as bttv-input, for consistency with other input modules Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-12-10Updates to the tveeprom eeprom checkingMauro Carvalho Chehab
From: Steven Toth <stoth@hauppauge.com> Signed-of-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-10Replaces MAX()/MIN() by kernel.h max()/min() macrosMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-10Fixed some DMA handlers. Yet to be tested.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-10cx88-alsa now doesn't generate OOPS. Still doesn't work.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-10make tree to compile against kernel 2.5.31Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-09TTUSB DEC driver patch roundupAlex Woods
From: Alex Woods <linux-dvb@giblets.org> Collection of patches from Peter Beutner addressing: - add symbolrates to the DVB-S frontend description - fix capability flags in DVB-S frontend describtion - remove some void casts - disable zig-zag scanning as it makes no sense for DVB-T - set sensible min_delay value - return an error for requested filter types the driver can't handle Signed-off-by: Peter Beutner <p.beutner@gmx.net> Signed-off-by: Alex Woods <linux-dvb@giblets.org>
2005-12-09Make videodev.c compile under V4L/DVB treeMauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-08Fixes some troubles at v4l2 compat stuffMauro Carvalho Chehab
From: Philippe De Muyter <phdm@macqel.be> - This patch fixes merge and typo problems in v4l2/compat, and fixes VIDIOC_STREAMON, VIDIOC_STREAMOFF & VIDIOC_S_FBUF. Signed-off-by: Philippe De Muyter <phdm@macqel.be> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-08I2C ID renamed to I2C_DRIVERID_INFRAREDMauro Carvalho Chehab
I2C ID renamed to I2C_DRIVERID_INFRARED Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-08VIDEO_CX88_DVB_CX24123 is boolean, NOT tristateMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-08uneccessary call commentedMauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-08removed unneccessary header.Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-08syncronizes some changes between v4l and dvbMauro Carvalho Chehab
- Updated firmware names - kfree (NULL) is valid. - assert_spin_locked() is the new way - small fixes to make in sync with kernel Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-08more #if 0 / #if 1 fixes to be in sync with kernelMauro Carvalho Chehab
kernel-sync - more #if 0 / #if 1 fixes to be in sync with kernel Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-08keep #if 0 for existent code when genreating kernel patchesMauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-08removed unneeded linux/version.hMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-08Documentation fix and keep debug code at kernelMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br> kernel-sync - Removed inexistent site - keep debug #if 0 at kernel patches Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-08More input layer backportsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> kernel-sync (Bugfix at ir-kbd-gpio) Updated experimental bttv-input Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-12-08Fix tuner init for Pinnacle PCTV StereoRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> The Pinnacle PCTV Stereo needs tda9887 port2 set to 1 Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-12-07#elifs replaced since gentree.pl script is not able to handle elifs.Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07Reverted a wrong commit at the previous patch.Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07cx24123: cleanup timout handlingJohannes Stezenbach
From: Steven Toth <stoth@hauppauge.com> Cleanup timeout handling in cx24123_pll_writereg(), and use a reasonable value for the timeout. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-12-07correct FE_READ_UNCORRECTED_BLOCKSJohannes Stezenbach
From: Stephen Williams <stephen.gw@gmail.com> Make FE_READ_UNCORRECTED_BLOCKS reset the count after each call, thus returning a momentary value like all other demods do, instead of an absolute, ever increasing count. Signed-off-by: Stephen Williams <stephen.williams@gmail.com> Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-12-07kernel-sync patches.Mauro Carvalho Chehab
- kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07Removes obsolete stuff from videodev.hMauro Carvalho Chehab
Removes obsolete stuff from videodev.h Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07kernel-sync patches.Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07include reorder to be in sync with V4L treeMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07kernel-sync patches.Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07Syncs bttv stuff with kernel version.Mauro Carvalho Chehab
kernel-sync - Syncs bttv stuff with kernel version. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07Adds 32-bit compatibility for v4l2 framegrabber ioctls.Mauro Carvalho Chehab
From: Philippe De Muyter <phdm@macqel.be> adds 32-bit compatibility for v4l2 framegrabber ioctls. Signed-off-by: Philippe De Muyter <phdm@macqel.be> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-06Enable remote control on AVERTV STUDIO 303Michael Krufky
- Enable remote control on AVERTV STUDIO 303 - This patch adapted from a patch found on a website posted by an anonymous user. Thanks to original anonymous author for creating this patch. Tested successfully by George Gazurkoff. Signed-off-by: George Gazurkoff <gazurkoff@gmail.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-05Fix broken TV standard check.Hans Verkuil
Fix incorrect matching of TV standards leading to incorrect IFPCoff values. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-05tda9887 improvements: better defaults, better configurability.Hans Verkuil
- Set the tuner takeover point to 0x10 for NTSC/radio and 0x14 for PAL/SECAM. - Allow override through TDA9887_SET_CONFIG - PAL-N belongs with PAL-BG as does PAL-H. PAL-Nc belongs to PAL-M - Add SECAM-BGH - Set video freq to cVideoIF_38_90 for DK standards. - Add cTunerGainLow to radio, change deemphasis to 75 for mono. - Add ntsc module param for 'M' and 'J' (Japanese) standards. - Fix module handling for 2.4. - Now able to select all standards through pal/secam/ntsc module options Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-05Add missing VIDEO_ADV_DEBUG config option.Hans Verkuil
Add missing VIDEO_ADV_DEBUG config option. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-05Make em28xx page alloc compatible with kernels < 2.6.15Mauro Carvalho Chehab
From: Sascha Sommer <saschasommer@freenet.de> kernel-sync - Make em28xx page alloc compatible with kernels < 2.6.15 Signed-off-by: Sascha Sommer <saschasommer@freenet.de> Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-05Convert em28xx to use vm_insert_page instead of remap_pfn_rangeMauro Carvalho Chehab
From: Sascha Sommer <saschasommer@freenet.de> - Convert em28xx to use vm_insert_page instead of remap_pfn_range Signed-off-by: Sascha Sommer <saschasommer@freenet.de> Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-05Several fixes for Hauppauge Roselyn Design (blackbird)Mauro Carvalho Chehab
From: Steven Toth <stoth@hauppauge.com> - This patch adds eeprom awareness for the Roslyn. In effect, the blackbird will query the tuner V4L2_STD_xxxx definitions to determine whether it's connected to a NTSC or PAL tuner. Based on that, various default values will change for blackbird encoding. - Fixes back panel SVIDEO/COMPOSITE with audio, work properly. - Fixes a problem with lip sync issues, due to bad framerate vs audio rate assumptions. - Fixed a problem with the GPIO configuration in cx88-cards. - Removed the comments in cx88-cards that made no sense. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-04kernel-syncMichael Krufky
[PATCH 9/11] MEDIA: replace all uses of pci_module_init with pci_register_driver From: Otavio Salvador <otavio@debian.org> This patch replace all calls to pci_module_init, that's deprecated and will be removed in future, with pci_register_driver that should be the used function now. Signed-off-by: Otavio Salvador <otavio@debian.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-04tveeprom cleanup of hardcoded tuner format values.Michael Krufky
From: Steven Toth <stoth@hauppauge.com> - cleaned up the structure to use the V4L2_STD_xxx definitions rather than a one off set of hardcoded values - which could change in the future. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-04Restore 2.4 support for msp3400.cHans Verkuil
Restore 2.4 support for msp3400.c. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>