summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-09-19cinergyT2: add remote key repeat featureThierry MERLE
From: Thierry MERLE <thierry.merle@free.fr> Implement key repeat feature for the cinergyT2 remote controller. Priority: normal Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-09-19Alternative version of Terratec Cinergy T2 driverThierry MERLE
From: Tomi Orava <tomimo@ncircle.nullnet.fi> Alternative version of the Terratec Cinergy T2 driver that uses the dvb framework. Priority: normal Signed-off-by: Tomi Orava <tomimo@ncircle.nullnet.fi> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-09-09s2255drv field count fixMauro Carvalho Chehab
From: Dean Anderson <dean@sensoray.com> Fixes videobuf field_count Signed-off-by: Dean Anderson <dean@sensoray.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-07zr36067: VIDIOC_S_FMT returns the colorspace valueMauro Carvalho Chehab
From: Jean Delvare <khali@linux-fr.org> Ioctl VIDIOC_S_FMT is supposed to fill the colorspace value in the returned buffer. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-05zr36067: Fix RGBR pixel formatMauro Carvalho Chehab
From: Jean Delvare <khali@linux-fr.org> The zr36067 driver is improperly declaring pixel format RGBP twice, once as "16-bit RGB LE" and once as "16-bit RGB BE". The latter is actually RGBR. Fix the code to properly map both pixel formats. Priority: high Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-02drivers/media/video/cafe_ccic.c needs mm.hMauro Carvalho Chehab
From: Andrew Morton <akpm@linux-foundation.org> sparc32 allmodconfig: drivers/media/video/cafe_ccic.c: In function 'cafe_setup_siobuf': drivers/media/video/cafe_ccic.c:1192: error: implicit declaration of function 'PAGE_ALIGN' drivers/media/video/cafe_ccic.c: At top level: drivers/media/video/cafe_ccic.c:1430: error: variable 'cafe_v4l_vm_ops' has initializer but incomplete type drivers/media/video/cafe_ccic.c:1431: error: unknown field 'open' specified in initializer drivers/media/video/cafe_ccic.c:1431: warning: excess elements in struct initializer drivers/media/video/cafe_ccic.c:1431: warning: (near initialization for 'cafe_v4l_vm_ops') drivers/media/video/cafe_ccic.c:1432: error: unknown field 'close' specified in initializer drivers/media/video/cafe_ccic.c:1433: warning: excess elements in struct initializer drivers/media/video/cafe_ccic.c:1433: warning: (near initialization for 'cafe_v4l_vm_ops') drivers/media/video/cafe_ccic.c: In function 'cafe_v4l_mmap': drivers/media/video/cafe_ccic.c:1444: error: 'VM_WRITE' undeclared (first use in this function) drivers/media/video/cafe_ccic.c:1444: error: (Each undeclared identifier is reported only once drivers/media/video/cafe_ccic.c:1444: error: for each function it appears in.) drivers/media/video/cafe_ccic.c:1444: error: 'VM_SHARED' undeclared (first use in this function) drivers/media/video/cafe_ccic.c:1461: error: 'VM_DONTEXPAND' undeclared (first use in this function) This build breakage is caused by some header file shuffle in linux-next. But I suggest that this patch be merged ahead of linux-next to avoid bisection breakage. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-10include <linux/videodev2.h> into linux/ivtv.hMauro Carvalho Chehab
From: Kirill A. Shutemov <kirill@shutemov.name> linux/videodev2.h defines enum v4l2_buf_type and struct v4l2_rect Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-07zr36067: Return proper bytes-per-line valueMauro Carvalho Chehab
From: Jean Delvare <khali@linux-fr.org> The zr36067 driver should return the actual bytes-per-line value when queried with ioctl VIDIOC_G_FMT, instead of 0. Otherwise user-space applications can get confused. Likewise, with ioctl VIDIOC_S_FMT, we are supposed to fill the bytes-per-line value. And we shouldn't fail if the caller sets the initial value to something different from 0. This is perfectly valid for applications to pre-fill this field with the value they expect. Priority: high Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-07zr36067: Restore the default pixel formatMauro Carvalho Chehab
From: Jean Delvare <khali@linux-fr.org> Restore the default pixel format to YUYV as it used to be before kernel 2.6.23. It was accidentally changed to BGR3 by commit 603d6f2c8f9f3604f9c6c1f8903efc2df30a000f. Priority: high Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-07bttv: Turn video_nr, vbi_nr and radio_nr into arraysMauro Carvalho Chehab
From: Jean Delvare <khali@linux-fr.org> With video_nr, vbi_nr and radio_nr being simple integers, it is not possible to use these parameters on a system with multiple bttv adapters (which happens to be my case.) video_register_device() will always fail on the second and later adapters. Turn these parameters into arrays, as many other V4L drivers are already doing, so that they can be used on such systems. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-07bttv: Prevent NULL pointer dereference in radio_openMauro Carvalho Chehab
From: Jean Delvare <khali@linux-fr.org> Fix the following crash in the bttv driver: BUG: unable to handle kernel NULL pointer dereference at 000000000000036c IP: [<ffffffffa037860a>] radio_open+0x3a/0x170 [bttv] This happens because radio_open assumes that all present bttv devices have a radio function. If a bttv device without radio and one with radio are installed on the same system, and the one without radio is registered first, then radio_open checks for the radio device number of a bttv device that has no radio function, and this breaks. All we have to do to fix it is to skip bttv devices without a radio function. Priority: high Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-11common/tuners: Drop code after return or gotoMauro Carvalho Chehab
From: Julia Lawall <julia@diku.dk> The break after the return or goto serves no purpose. Signed-off-by: Julia Lawall <julia@diku.dk> Reviewed-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-09V4L/DVB: remove unused #include <version.h>Mauro Carvalho Chehab
From: Huang Weiyi <weiyi.huang@gmail.com> The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION. drivers/media/video/pwc/pwc-ctrl.c This patch removes the said #include <version.h>. Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-10merge: http://linuxtv.org/hg/~mkrufky/xc5000Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-10merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-cleanupsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-10merge: http://linuxtv.org/hg/~dougsland/patches-em28xxMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-10merge: http://linuxtv.org/hg/~jfrancois/gspca/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-09gspca: Disable light frquency for zc3xx cs2102 Kokom.Jean-Francois Moine
From: Costantino Leandro <le_costantino@pixartargentina.com.ar> CS2102K stop streaming on setlightfreq (50Hz & 60Hz). Disable it for now until a correct solution is found. Priority: high Signed-off-by: Costantino Leandro <le_costantino@pixartargentina.com.ar> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-08merge: http://linuxtv.org/hg/~awalls/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-08merge: v4l-dvbJean-Francois Moine
2008-09-08gspca: Vflip added for sonixj - ov7630.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-08em28xx: Fix and add some validationsDouglas Schilling Landgraf
From: Douglas Schilling Landgraf <dougsland@linuxtv.org> Fixed and Added some validations Priority: high Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org>
2008-09-08em28xx-cards: Add vendor/product id for EM2820_BOARD_PROLINK_PLAYTV_USB2Douglas Schilling Landgraf
From: Douglas Schilling Landgraf <dougsland@linuxtv.org> Added vendor/product id for EM2820_BOARD_PROLINK_PLAYTV_USB2 Priority: high Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org>
2008-09-08em28xx-cards: Remove duplicate entry (EM2800_BOARD_KWORLD_USB2800)Douglas Schilling Landgraf
From: Douglas Schilling Landgraf <dougsland@linuxtv.org> Removed duplicated entry for EM2800_BOARD_KWORLD_USB2800 Priority: high Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org>
2008-09-08gspca: The image transfer by bulk is started by the subdrivers.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-07gspca: sonixj webcam 0458:702e added.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-07v4l2-ctl: add --list-devices optionHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-07dib7000m: fix powerpc build errorHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The dib7000m_i2c_enumeration() function is not used by any public drivers, however some prototype board use it. So '#if 0' for now, but don't remove it. Thanks to Patrick Boettcher for clarifying this. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> CC: Patrick Boettcher <patrick.boettcher@desy.de>
2008-09-07mxb: use unique i2c adapter nameHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-07saa5249: convert i2c driver for new i2c APIHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - Convert to use v4l2-i2c-drv-legacy.h to be able to handle the new i2c API - Cleanups - Use v4l_dbg/v4l_info to have uniform kernel messages Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-07saa5246a: convert i2c driver for new i2c APIHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - Convert to use v4l2-i2c-drv-legacy.h to be able to handle the new i2c API - Cleanups - Use v4l_dbg/v4l_info to have uniform kernel messages Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-06mxb: coding style cleanupsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-06cx18: Set mmio throttling delay default to 0 nsec.Andy Walls
From: Andy Walls <awalls@radix.net> cx18: Set mmio throttling delay default to 0 nsec. Not doing so makes analog tuner audio not work on some mahcines. Priority: high Signed-off-by: Andy Walls <awalls@radix.net>
2008-09-06mxb/tda9840: cleanups, use module saa7115 instead of saa7111.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Cleanup tda9840 and use a v4l2 API to get the tuner subchannels. Do some cleanups in mxb and switch to saa7115 instead of the saa7111 module. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-06saa7115: fix saa7111(a) supportHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The saa7111 support in saa7115.c was missing some features and did not properly take some of the differences into account. With this patch saa7115 can be used in the mxb driver instead of saa7111.c. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-06xc5000: dont pass devptr in xc5000_attach()Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Dont pass devptr in xc5000_attach, dont store it in xc5000_priv. This pointer is passed into the tuner_callback function, which always expects a pointer to fe->dvb->priv or i2c_adapter->algo_data. This prevents future possible bugs in new drivers, such as using a "devptr" other that the standard fe->dvb->priv in a DVB driver. Priority: normal Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-09-06cx18: fix sparse warningsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-06xc5000: prevent an OOPS if analog driver is unloaded while digital is in useMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Prevent an OOPS if xc5000_attach was called by tuner.ko before being called by the DVB adapter driver. The OOPS occurs when a digital tune request is made after tuner.ko is unloaded. When tuner.ko is unloaded, it takes the xc5000_config structure with it. Rather than storing a pointer to the xc5000_config structure, just store the if_khz and tuner_callback inside the xc5000_priv internal state structure. Priority: normal Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-09-06xc5000: allow multiple driver instances for the same hardware to share stateMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Convert xc5000 to use the hybrid_tuner_request_state and hybrid_tuner_release_state macros to manage state sharing between hybrid tuner instances. Priority: normal Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-09-06xc5000: kill xc5000_priv.hMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> move struct xc5000_priv into xc5000.c and delete xc5000_priv.h Priority: normal Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-09-06v4l2-ctl: improve fmt handlingHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - add 'try' versions for the various formats - add set/try-fmt-overlay support - print result of set/try call if verbose was set Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-06ivtv: fix incorrect capability and assorted sliced vbi and video out fmt fixesHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - V4L2_CAP_VBI_OUTPUT is not supported by ivtv, remove it. - ivtv_try_fmt_vid_out also needed to constrain the width/height of MPEG decoder window sizes. - allow empty sliced services. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-06cx18/ivtv: fix check of window boundaries for VIDIOC_S_FMTHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> It was possible to set out-of-bounds windows sizes, this is now fixed. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-06cx18: Fix tuner audio input for Compro H900 cardsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Earlier fixes to get the tuner audio working correctly broke the audio on the Compro VideoMate H900 cards. This is now fixed. Priority: high Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-06saa6752hs: simplify writing to registersHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Add some utility functions to set registers. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-06saa7134-empress: fix changing the capture standard for non-tuner inputsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> When changing the standard the saa6752hs was not updated unless the input was the TV tuner. The saa6752hs should be updated regardless of the input. In addition the S_STD and G_STD ioctls for the mpeg video device didn't do anything. This is now fixed: they behave just like S_STD and G_STD on the video0 device. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-06gspca: Version change to 2.3.0.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-06gspca: PAC 207 webcam 093a:2476 added.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-05gspca: Bad fix of leak memory (changeset 43d2ead315b1).Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-05merge: http://linuxtv.org/hg/~awalls/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Fixed a trivial conflict between a janitor's patch from Hans Verkuil and Andy patch series. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>