summaryrefslogtreecommitdiff
path: root/linux/drivers/media
AgeCommit message (Collapse)Author
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-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-08Msp3400-kthreads.c: make 3 functions staticAdrian Bunk
This patch makes three needlessly global functions static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-08Saa7134: document that there's also a 220RF from KWorldAdrian Bunk
I have the same card with the same PCI id, but from KWorld. The patch documents that this is the same card. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-08Typos grab bag of the monthOliver Endriss
From: Alexey Dobriyan <adobriyan@gmail.com> Typos grab bag of the month. Eyeballed by jmc@ in OpenBSD. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-03-03Merge from pascoeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-02Merging endriss treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-28FE6600 is a Thomson tunerMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - The tuner used in DViCO FusionHDTV DVB-T hybrid is made by Thomson - renamed tuner and dvb_pll structs accordingly Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-01Move DViCO hybrid initialisation data from stack.Chris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> The init_data array is never changed and need not be on the stack. Turn it into a static variable. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-02-28Kconfig: fix in-kernel build for cx88-dvb: zl10353 frontendMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - VIDEO_CX88_DVB_ALL_FRONTENDS should select DVB_ZL10353 - created VIDEO_CX88_DVB_ZL10353, for selective zl10353 support in cx88-dvb. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-28Use refactored LNBP21 and BSBE1 codeOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Use refactored LNBP21/BSBE1 code for Technotrend/Hauppauge DVB-S rev 2.3. As a side effect, FE_ENABLE_HIGH_LNB_VOLTAGE ioctl is supported now. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-02-28TechnoTrend S-1500 card handling moved from budget.c to budget-ci.cOliver Endriss
From: Perceval Anichini <perceval.anichini@streamvision.fr> TechnoTrend S-1500 card handling moved from budget.c to budget-ci.c. Signed-off-by: Perceval Anichini <perceval.anichini@streamvision.fr> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-02-28Refactored LNBP21 and BSBE1 supportOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Moved duplicated code to separate files. LNBP21 stuff rewritten from scratch, BSBE1 copied from av7110.c. Modified budget driver to use the new routines. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-02-28DViCO FusionHDTV DVB-T Hybrid and ZL10353-based FusionHDTV DVB-T Plus supportChris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> Add support for the FE6600 tuner used on the DVB-T Hybrid board. Add support for the Zarlink ZL10353 DVB-T demodulator, which supersedes the MT352, used on the DViCO FusionHDTV DVB-T Hybrid and later model Plus boards. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-02-28Coding style fixes in saa7134-dvb.cHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> deleted 2 semicolons at end of functions Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-02-28Fixes for Lifeview Trio non fatal bugsHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> - Init message was sent to wrong slave address - Deleted outdated comment Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-02-27ELSA EX-VISION 500TV: fix incorrect PCI subsystem IDMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - ELSA EX-VISION 500TV was incorrectly programmed to have the same subsystem ID as ELSA EX-VISION 300TV, (1048:226b) - This changeset replaces the incorrect subsystem ID (1048:226b) with the correct one (1048:226a) for the ELSA EX-VISION 500TV. Thanks-to: TAMUKI Shoichi <tamuki@linet.gr.jp> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-27ELSA EX-VISION 700TV: fix incorrect PCI subsystem IDMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - Corrected autodetection for saa7130 card: subsystem: 1048:226c, board: ELSA EX-VISION 700TV Thanks-to: Gunther Mayer <gunther.mayer@gmx.net> Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-26Merge hhackmann treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Also fixed a missing ; at the end of a function Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-26bttv: correct bttv_risc_packed buffer sizeMauro Carvalho Chehab
From: Duncan Sands <duncan.sands@math.u-psud.fr> This patch fixes the strange crashes I was seeing after using bttv card, caused by a buffer overflow in bttv_risc_packed. The instruction buffer size calculation contains two errors: (a) a non-zero padding value can push the start of the next bpl section to just before a page border, leading to more scanline splits and thus additional instructions. (b) the first DMA region can be smaller than one page, so there can be a scanline split even if bpl*lines is smaller than PAGE_SIZE. For example, consider the case where offset is 0, bpl is 2, padding is 4094, lines is smaller than 2048, the first DMA region has size 1 and all others have size PAGE_SIZE, assumed to equal 4096. Then all bpl regions cross page borders and the number of instructions written is 2*lines+2, rather than lines+2 (the current estimate). With this patch the number of instructions for this example is estimated to be 2*lines+3. Also, the BUG_ON that was supposed to catch buffer overflows contained a thinko causing it fire only if the buffer was overrun by a factor of 16 or more, so it fixes the the BUG_ON's (using sizeof rather than "4"). Signed-off-by: Duncan Sands <baldrick@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-26cx88: reduce excessive loggingMichael Krufky
From: Ian Pickworth <ian@pickworth.me.uk> - fix temporary debug code by changing printk to dprintk at level 1. - move CORE_IOCTL messages from level 1 to level 2. - this should help with selective debugging, while not filling people's logs up during normal use. Signed-off-by: Ian Pickworth <ian@pickworth.me.uk> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-26do a RESYNC for all cardsManu Abraham
From: Manu Abraham <manu@linuxtv.org> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-02-26fix module parametersManu Abraham
Thanks to Edgar Toerning Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-02-26fix broken IF-OUT Relay handlingManu Abraham
Thanks to Edgar Toernig Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-02-26Ignore DiSEqC messages > 6 and < 3Manu Abraham
Thanks to Edgar Toernig Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-02-24Workaround to fix initialization for Nexus CAOliver Endriss
From: Marco Schluessler <marco@lordzodiac.de> Workaround for Nexus CA: Debi test fails unless first debi write is repeated. Signed-off-by: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-02-24Merge from js treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-24Merging hhackmann tree.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-24Merge mkrufky treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-24Merge endriss treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-24fix stv0297 for qam128 on tt c1500 (saa7146)Michael Krufky
From: Mattias Nordstrom <nordstrom@realnode.com> I have a TT C1500 card (saa7146, STV0297) which had problems tuning channels at QAM128 (like the ones in the Finnish HTV / Welho network). A fix which seems to work perfectly so far is to change the delay for QAM128 to the same values as for QAM256 in stv0297_set_frontend(), Signed-off-by: Mattias Nordstrom <nordstrom@realnode.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-24Add cpia2 camera supportMauro Carvalho Chehab
From: Alan Cox <alan@redhat.com> There has been a CPIA2 driver out of kernel for a long time and it has been pretty clean for some time too. This is an import of the sourceforge driver which has been stripped of - 2.4 back compatibility - 2.4 old style MJPEG ioctls A couple of functions have been made static and the docs have been repackaged into Documentation/video4linux. The rvmalloc/free functions now match the cpia driver again. Other than that this is the code as is. Tested on x86-64 with a QX5 microscope. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-23Support for Satelco EasyWatch DVB-S lightOliver Endriss
From: Thilo Berger <thilo_berger@gmx.net> Support for Satelco EasyWatch DVB-S light. Signed-off-by: Thilo Berger <thilo_berger@gmx.net> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-02-23Add DVB-T support for the LifeView DVB Trio PCI cardHartmut Hackmann
From: Nico Sabbi <nsabbi@tiscali.it> This patch adds DVB-T support, no DVB-S yet Signed-off-by: Nico Sabbi <nsabbi@tiscali.it> Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-02-23Fixed Pinnacle 300i DVB-T support Hartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> - fixed tda9886 port 2 setting - turned remote control receiver off via saa7134 GPIO to avoid i2c hangs - modified tda9886 client calls to direct i2c access to allow proper return to analog mode - allow mode change to V4L2_TUNER_DIGITAL_TV in tuner VIDIOC_S_FREQUENCY client call Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-02-22Restore power on defaults of tda9887 after tda8290 probeHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> The probing code for tda8290 changes the state of the tda9887 GP ports. The patch assumes that if probing for tda8290 failed, this must be a tda9887 and restores its power on defaults. This should solve the module load order issue with some pinnacle cards. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-02-19TUV1236d: declare buffer as static constMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> On 2/17/06, Darren Salt <linux@youmustbejoking.demon.co.uk> wrote: > + u8 buffer [] = { 0x10,0x12,0x13,0x04,0x16,0x00,0x14,0x04,0x017,0x00 }; > Shouldn't buffer be declared static const? Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-19dvb-core: remove dead codeJohannes Stezenbach
From: Peter Beutner <p.beutner@gmx.net> The field "dvr" in struct dmxdev is competely unused. Remove it and code which allocates, initializes and frees it. Signed-off-by: Peter Beutner <p.beutner@gmx.net> Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2006-02-19dvb: fix __init/__exit section references in av7110 driverJohannes Stezenbach
From: Johannes Stezenbach <js@linuxtv.org> use __devinit/__devexit/__devexit_p() where appropriate Signed-off-by: Johannes Stezenbach <js@linuxtv.org>