summaryrefslogtreecommitdiff
path: root/linux
AgeCommit message (Collapse)Author
2008-09-11s2api: restore DTV_UNDEFINEDMichael Krufky
From: Steven Toth <stoth@linuxtv.org> Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-09-11S2API: Cleanup SYMBOLRATE, INNERFEC -> SYMBOL_RATE, INNER_FECSteven Toth
From: Steven Toth <stoth@linuxtv.org> This is now consistent with the existing API. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-11S2API: typedefs replaced, _SEQ_'s removed, fixed 16 command arrays replacedSteven Toth
From: Steven Toth <stoth@linuxtv.org> After discussion the following changes were made: 1. Removed the typedefs in frontend.h, use structures. 2. In the frontend.h, remove the 16 command limit on the API and switch to a flexible variable length API. For practical reasons a #define limits this to 64, this should be discussed. 3. Changed dvb-core ioctl handing to deal with variable sequences of commands. tune-v0.0.3.c is required to use this API, it contains the interface changes. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-11S2API: tv_ / TV_ to dtv_ / DTV_ namespace changesSteven Toth
From: Steven Toth <stoth@linuxtv.org> The group preferred dtv_ over tv_, this implements it. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-09Adjust MPEG initialization in cx24116Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Adjust MPEG initialization in cx24116 in order to accomodate different MPEG CLK position and polarity in different cards. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-09cx24116: Fix lock for high (above 30000 kSyms) symbol ratesIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> cx24116: Fix lock for high (above 30000 kSyms) symbol rates Signed-off-by: Igor M. Liplianin <liplianin@me.by>
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-09Kconfig corrections for DVBWorld 2104 and TeVii S650 USB DVB-S2 cardsIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Change menu item in Kconfig for DVBWorld 2104 and TeVii S650 USB DVB-S2 cards Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-08Added support for DVBWorld 2104 and TeVii S650 USB DVB-S2 cardsIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Added support for DVBWorld 2104 and TeVii S650 USB DVB-S2 cards This cards based on cx24116 demodulator. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-08S2API: DVB-S/S2 voltage selection bug fixSteven Toth
From: Steven Toth <stoth@linuxtv.org> Thanks to Hans Werner for finding the problem. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
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-04Added support for TeVii S460 DVB-S/S2 cardIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Added support for TeVii S460 DVB-S/S2 card. The card based on cx24116 demodulator. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-04S2API: Allow the properties to call legacy ioctlsSteven Toth
From: Steven Toth <stoth@linuxtv.org> SET_TONE and SET_VOLTAGE were not previously implemented. Two options existed. Either cut/paste from the previous ioctl handler into the process_properties function, which is code duplication. Or, split the current ioctl handler into it's two major pieces. Piece 1, responsible for input validation and semaphore acquiring Piece 2 the processing of the previous ioctls and finally, a new third pieces where the array of properties is processed, and can freely call the legacy ioctl handler without having to re-acquire the fepriv->sem semaphore. This is a clean approach and ensures the existing legacy ioctls are processed as they were previously (but with an extra function call) and allows the new API to share code without duplication. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-04cx88: Add support for the Hauppauge HVR4000 and HVR4000-LITE (S2) boardsSteven Toth
From: Steven Toth <stoth@linuxtv.org> Adding support for Hauppauge's cx88 S2 based products, based on the cx24116 DVB-S2 demodulator. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-04cx24116: Adding DVB-S2 demodulator supportSteven Toth
From: Steven Toth <stoth@linuxtv.org> Adds support for the COnexant cx24116 DVB-S2 demodulator. TODO: checkpatch cleanup. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-04S2API: Added dvb frontend changes to support a newer tuning APISteven Toth
From: Steven Toth <stoth@linuxtv.org> This is an experimental patch to add a new tuning mechanism for dvb frontends. Rather than passing fixed structures across the user/kernel boundary, which need to be revised for each new modulation type (or feature the kernel developers want to add), this implements a simpler message based approach, allowing fe commands to be broken down into a series of small fixed size transactions, presented in an array. The goal is to avoid changing the user/kernel ABI in the future, by simply creating new frontend commands (and sequencies of commands) that help us add support for brand new demodulator, delivery system or statistics related commmands. known issues: checkpatch voilations feedback from various developers yet to be implemented, relating to namespace conventions, variable length array passing conventions, and generally some optimization. This patch should support all existing tuning mechanisms through the new API, as well as adding 8PSK, DVB-S2 NBC-QPSK and ISDB-T API support. For testing and exercise purposes, see the latest tune.c tool available from http://www.steventoth.net/linux/s2 Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
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-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>