summaryrefslogtreecommitdiff
path: root/linux
AgeCommit message (Collapse)Author
2006-03-14Ringbuffer: don't reset pointers to zeroMauro Carvalho Chehab
From: Andreas Oberritter <obi@linuxtv.org> Oliver Endriss spotted, that resetting read and write pointers on flush() requires additional locking and breaks the av7110 driver. Therefore this patch partially reverts the previous patch titled "make dvb_ringbuffer compatible to dmxdev_buffer". Signed-off-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.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-14SAA7113 doesn't have auto std chroma detection modeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch makes chroma standard selection based at possible values, according with datasheet. 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-13Remove saa711x driverMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, em28xx uses saa7115 instead of saa711x. saa7115 driver is capable of handling saa 7113, 7114 and 7115. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.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-13Make dvb_ringbuffer compatible to dmxdev_bufferMauro Carvalho Chehab
From: Andreas Oberritter <obi@linuxtv.org> Added variable 'error' to struct dvb_ringbuffer, which is set to zero on init() and flush(). Also reset read an write pointers to zero on flush() to get less fragmented data. Signed-off-by: Andreas Oberritter <obi@linuxtv.org> 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-10[PATCH] __user annotations of video_spu_paletteMauro Carvalho Chehab
From: Al Viro <viro@zeniv.linux.org.uk> This patch were applied at kernel on Wed Feb 1 07:33:44 2006 -0500 kernel-sync Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2006-03-10[PATCH] dvb NULL noise removalMauro Carvalho Chehab
From: Al Viro <viro@zeniv.linux.org.uk> This patch were applied at kernel on Wed Feb 1 06:02:50 2006 -0500 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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-10Optical cleanup for dmxdev.cMauro Carvalho Chehab
From: Andreas Oberritter <obi@linuxtv.org> Used Lindent, manually changed some line breaks. Removed invalid email addresses, useless casts and useless initialization of return values. Signed-off-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-10Fix typo in enum name and use enum in struct dmxdev_filterMauro Carvalho Chehab
From: Andreas Oberritter <obi@linuxtv.org> Rename 'enum dmxdevype' to 'enum dmxdev_type' and use this enum instead of int for the member 'type' of struct dmxdev_filter. Signed-off-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-10Remove 'dvbdev' from struct dmxdev_filterMauro Carvalho Chehab
From: Andreas Oberritter <obi@linuxtv.org> The member dvbdev gets initialized once but is never used after that. Signed-off-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-10Remove 'pid' from struct dmxdev_filterMauro Carvalho Chehab
From: Andreas Oberritter <obi@linuxtv.org> The PID value is already stored in struct dmx_sct_filter_params which is a member of struct dmxdev_filter. Signed-off-by: Andreas Oberritter <obi@linuxtv.org> Acked-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-10Corrects MODULE_AUTHORMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-10Creates a virtual video device driverMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The Virtual Video Device Driver (aka vivi) is a device that can be used to: 1) test core v4l functionalities; 2) be a prototype for newer development. Vivi were developed using the best practices for v4l driver. When loaded, it provides a video device that generates a standard color bar, with a timestamp placed at top left corner. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-10Fixed some errors generated by previous commitMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-10Make video_buf more genericMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Video_buf were concerned to allow PCI devices to be used as video capture devices. This patch extends video_buf features by virtualizing pci-dependent functions and allowing other type of devices to use it. It is still DMA centric, although it may be used also by devices that emulates scatter/gather behavior or a DMA device 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>