summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
AgeCommit message (Collapse)Author
2006-03-15Merging mkrufky tree.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-15Restore tuning capabilities in v4l2 mxb driverMauro Carvalho Chehab
From: Michael Hunold <hunold@linuxtv.org> The behaviour of the all-in-one Video4Linux tuner driver apparently changed. It now wants to know the tv standard, otherwise it refuses to tune. Restore tuning functionality in my driver for the "Multimedia eXtension Board". The all-in-one tuner driver apparently changed its behaviour. Signed-off-by: Michael Hunold <hunold@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-15Fix compilation on 2.6.16Mauro Carvalho Chehab
From: Sigmund Augdal Helberg <sigmund@snap.tv> The following patch fixes compilation of tea6420.c, tea6415c.c and tda9840.c. These failed to build because of changes to struct i2c_driver in 2.6.16. The changes are identical for all three files and are inspierd by saa7115.c Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-15Kconfig: swap VIDEO_CX88_ALSA and VIDEO_CX88_DVBMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> VIDEO_CX88_ALSA should not be between VIDEO_CX88_DVB and VIDEO_CX88_DVB_ALL_FRONTENDS When cx88-alsa was added to cx88/Kconfig, it was added in between VIDEO_CX88_DVB and VIDEO_CX88_DVB_ALL_FRONTENDS. This caused undesireable effects to the appearance of the menu options in menuconfig. This fix reorders cx88-alsa and cx88-dvb in Kconfig, to match saa7134, and restore the correct menuconfig appearance. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-14Merging mkrufky treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-14Medion 7134: Autodetect second bridge chip; Warn that only first decoder is ↵Michael Krufky
supported From: Michael Krufky <mkrufky@linuxtv.org> The device, Medion 7134, has two saa7134 chips on it, but only one of them is functional in the current saa7134 driver. This patch adds autodetection for the second, unsupported saa7134 chip, as SAA7134_BOARD_MD7134_BRIDGE_2, and displays a message to the user (in dmesg) indicating that the second chip isn't yet functional. This is useful for users, since two instances of the saa7134 driver will spawn. This patch will prevent confusion by warning the user that only one of the chips on the board are functional. There are other versions of the SAA7134_BOARD_MD7134 with only a single saa7134 bridge/decoder -- those devices will not be affected by this patch. Only devices containing the second chip will display the warning. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-14Fix a bug when more than MAXBOARDS were plugged on em28xxMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Coverity reported a bug at checking max number of supported boards by em28xx init code. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-14whitespace: fix incorrect indentation of curly bracketMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-14saa7134: make unsupported secondary decoder message genericMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> There are already some supported devices that contain two saa713x chips on-board, where only one of these chips is currently functional in the driver. We are already printing a warning message for the second saa7134 decoder in SAA7134_BOARD_AVERMEDIA_A169_B. This patch alters that case to make it generic, so that other cards in the same situation can use it. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-14Merging from mkrufky build treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-14Removed inclusion of linux/version.h included on a previous patchMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-14Merge hunold treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-14Snd_cx88_create: don't dereference NULL coreMauro Carvalho Chehab
From: Duncan Sands <duncan.sands@math.u-psud.fr> If the call to cx88_core_get returns a NULL value, it is dereferenced by cx88_reset, and perhaps by cx88_core_put. Spotted by the Coverity checker. Signed-off-by: Duncan Sands <baldrick@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-13remove redundant makefile inclusion of tuner.oMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> VIDEO_MXB selects VIDEO_TUNER, so we don't have to include tuner.o in the Makefile. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-13cpia2: move Kconfig build logic into cpia2/KconfigMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-13Kconfig: select VIDEO_CX25840 to build cx25840 a/v decoder moduleMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The cx25840 module requires external firmware in order to function, so it must select FW_LOADER, but saa7115 and saa7129 do not require it. This patch creates VIDEO_CX25840, and alters VIDEO_DECODER to select it. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-13Kconfig: select VIDEO_MSP3400 to build msp3400.koMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The msp3400 driver is currently only being built if the bttv driver is selected. There are new drivers that will be needing msp3400, so simply including msp3400 in the Makefile is no longer appropriate. This patch creates VIDEO_MSP3400, and alters VIDEO_BT848, VIDEO_PVRUSB2 and VIDEO_AUDIO_DECODER each to select VIDEO_MSP3400. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-13BUG_ON() Conversion in drivers/video/mediaMauro Carvalho Chehab
From: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-13Merge from mkrufky's cx88-ivtv treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-13Merging mkrufky pvrusb2 treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-13cleanup mangled whitespaceMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-11Remove unneeded config dependencies for pvrusb2Mike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-11Merge in ~mkrufky/pvrusb2-cleanupMike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-11Fix compilation issue involving MODULE_DEVICE_TABLE in pvrusb2Mike Isely
From: Mike Isely <isely@pobox.com> Move MODULE_DEVICE_TABLE to pvrusb2-hdw.c, in order to solve compilation issue where that macro is pointing to an external symbol. I have not seen this problem, but others have and so I'm fixing the code. Different behavior is likely tied to gcc version in use. Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-12Cx88 default picture controls valuesMauro Carvalho Chehab
From: Marcin Rudowski <mar_rud@poczta.onet.pl> This patch fixes default values for some picture controls: - brightness set to 50% by default (now is 0%) - hue set to 50% by default (now is 0%) - sets saturation to datasheet value - volume set to 0dB (now is -32dB) and some left small fixes: - twice offset adding - balance didn't follow datasheet (bits[0:5] = attenuation; bit[6] = channel to provide attenuation) Signed-off-by: Marcin Rudowski <mar_rud@poczta.onet.pl> Signed-off-by: Ian Pickworth <ian@pickworth.me.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-11Cx88-input.c: add IR remote control support to CX88_BOARD_PROLINK_PLAYTVPVRMauro Carvalho Chehab
From: Matheus Izvekov <mizvekov@gmail.com> This patch adds support for the IR remote control found in the card CX88_BOARD_PROLINK_PLAYTVPVR. Signed-off-by: Matheus Izvekov <mizvekov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-11Cx88-cards.c: fix values of gpio0 for card CX88_BOARD_PROLINK_PLAYTVPVRMauro Carvalho Chehab
From: Matheus Izvekov <mizvekov@gmail.com> This patch changes the gpio0 values for the card CX88_BOARD_PROLINK_PLAYTVPVR to the ones observed using RegSpy from the dscaler project. Signed-off-by: Matheus Izvekov <mizvekov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-11saa7134: add support for AVerMedia A169 Dual Analog tuner cardMichael Krufky
From: Rickard Osser <ricky@osser.se> - Added support for AVerMedia A169 Dual Analog tuner card (dual saa7134 decoders - only 1 working right now) - Added autodetection for both parts of the card. It shows up like 2 cards, B1 and B - Enabled tuner B1, SVIDEO on B1 and composite1 through SVIDEO, FIXME: B is more or less dead at this point and I suspect the FM-radio is on the B part of the board Signed-off-by: Rickard Osser <ricky@osser.se> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-11LG TALN series: add PAL / SECAM supportMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - added tuner_lg_taln_pal_secam_ranges - renamed tuner 66 from TUNER_LG_NTSC_TALN_MINI to TUNER_LG_TALN - updated FlyTV mini Asus Digimatrix with new tuner Thanks-to: Rickard Osser <ricky@osser.se> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-11saa7134: small whitespace cleanupMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - matched indents on quotes within a printk Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-11Thomson FE6600: add missing "count" array elementMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - added missing "count" element in Thomson FE6600 Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-11pvrusb2: remove "ifdef notdef"Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - Changed all occurances of "#ifdef notdef" to "#if 0" - This code will remain visible in the v4l-dvb repositories, but will be held back from git. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-11add pvrusb2 to MakefileMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - added pvrusb2 to the kernel Makefile Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-11Kconfig: Hauppauge WinTV-PVR USB2 supportMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - add pvrusb2 to the kernel build Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-11pvrusb2: video device register/unregister message conformityMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - device registration messages altered to conform with the other v4l drivers. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-11add colon to messages generated by pvr2_trace macroMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - Add a ':' after 'pvrusb2' for kernel message output. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-10Fix const inconsistency in pvrusb2Mike Isely
From: Mike Isely <isely@pobox.com> Clean up a missing const declaration in the initialization pathway of the pvrusb2 driver. Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-10Raise legal maximum frequency to 850MHzMike Isely
From: Mike Isely <isely@pobox.com> The V4L2 control limit for frequency is too low. This change raises the limit to a more reasonable maximum. Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-10Make pvrusb2 aware of alternative hardware typesMike Isely
From: Mike Isely <isely@pobox.com> Notice and track actual hardware type of device. This information is also used now to select the correct FX2 firmware file to load (because they can be different, unfortunately). Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-10V4L/DVB (3399a): cpia2/cpia2_v4l.c cleanupsMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> - make 2 needlessly global functions static - remove cpia2_setup(): the driver already allows setting parameters through module_param(), and there's no reason for having two different ways for setting the same parameters kernel-sync Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-10Added no_overlay option and quirks to saa7134Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Some chipsets have several problems when pci to pci transfers are activated on overlay mode. the option no_overlay allows disabling such feature of the driver, in favor of keeping the system stable. The default is to use pcipci_fail flag defined on drivers/pci/quirks.c. It also allows the user to override it by forcing disable overlay or forcing enable. Forcing enable may generate PCI transfer corruption, including disk mass corruption, so should be used with care. Added a text description to this option and make messages looks the same at both bttv and saa7134 drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-09Rename FX2 firmware for pvrusb2 (again)Mike Isely
From: Mike Isely <isely@pobox.com> It has been discovered that newer PVR USB2 needs incompatibly different FX2 firmware. The driver therefore needs to make the file name a function of which firmware flavor is required. This rename is part of that work. Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-09PATCH cx88-mpeg: cx8802_restart_queue() for blackbirdMauro Carvalho Chehab
Fixes "cx8802_restart_queue: queue is empty" storm in syslog =============================================================================== Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-09Correct gpio values for Aver 303 Studio in v4l-dvb treeMauro Carvalho Chehab
From: Marcin Rudowski <mar_rud@poczta.onet.pl> Old values generally works in A2 mono, but new ones allows: - detect and use Nicam stereo - mute in tv - use radio FM Signed-off-by: Marcin Rudowski <mar_rud@poczta.onet.pl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-09Updated CARDLIST.tuner with newer tenna stringMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Also Removed whitespaces introduced by previous tena patch Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-09Cx88 balance change errore messages - fixMauro Carvalho Chehab
There is an error in the cx88 code that causes this message in the syslog when balance is changed at full volume: Mar 4 18:35:08 ian2 kernel: cx88[0]: irq pci [0x1] vid* Mar 4 18:35:39 ian2 last message repeated 348 times Mar 4 18:36:01 ian2 last message repeated 564 times ... and so on The attached patch cures this problem. Signed-off-by: Ian Pickworth <ian@pickworth.me.uk> Signed-off-by: Marcin Rudowski <mar_rud@poczta.onet.pl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-09User annotations and fixesMauro Carvalho Chehab
* compat_alloc_user_space() returns __user pointer * copying between two userland areas is copy_in_user(), not copy_from_user() * dereferencing userland pointers is bad * so's get_user() from local variables ... plus usual __user annotations Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-09Nskips maybe used uninitialized in bttv_risc_overlayMauro Carvalho Chehab
The Coverity checker (previously Stanford checker) noticed that the value of nskips could be read even if it was never written. Signed-off-by: Duncan Sands <baldrick@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-09This patch fixes Tuner TNF5335 familyMauro Carvalho Chehab
Radio now works. Tuner now supports both PAL/D and STD/MN models Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-08Add mxb, dpc7146, hexium_gemini and hexium_orion from 2.6.15Michael Hunold
From: Michael Hunold <hunold@linuxtv.org> Signed-off-by: Michael Hunold <hunold@linuxtv.org>