safe/jmp/linux-2.6
15 years agoV4L/DVB (9629): Add support for the ATI TV Wonder HD 600 USB Remote Control
Devin Heitmueller [Sun, 16 Nov 2008 11:03:53 +0000 (08:03 -0300)]
V4L/DVB (9629): Add support for the ATI TV Wonder HD 600 USB Remote Control

Add support for the ATI TV Wonder HD 600 USB Remote Control
(required a new keymap)

[mchehab@redhat.com: Fix CodingStyle]
Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9628): em28xx: refactor IR support
Devin Heitmueller [Thu, 13 Nov 2008 06:15:55 +0000 (03:15 -0300)]
V4L/DVB (9628): em28xx: refactor IR support

Refactor the em28xx IR support based on the em2860/em2880 and em2874
datasheets.

Tested on the HVR-950 (em2883), Pinnacle 800e (em2883), Pinnacle 80e (em2874)
using the remote controls that came with those products.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9612): Fix key repetition with HVR-950 IR
Mauro Carvalho Chehab [Wed, 12 Nov 2008 21:46:01 +0000 (18:46 -0300)]
V4L/DVB (9612): Fix key repetition with HVR-950 IR

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9611): em28xx: experimental support for HVR-950 IR
Mauro Carvalho Chehab [Wed, 12 Nov 2008 17:05:46 +0000 (14:05 -0300)]
V4L/DVB (9611): em28xx: experimental support for HVR-950 IR

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9607): em28xx: Properly implement poll support for IR's
Mauro Carvalho Chehab [Wed, 12 Nov 2008 11:41:29 +0000 (08:41 -0300)]
V4L/DVB (9607): em28xx: Properly implement poll support for IR's

The first em28xx were based on i2c IR's. However, some newer designs
are coming with a polling-based IR. Those are done by reading a register
set at em28xx.

This patch adds core polling support for those devices. Later patches will
add support for some device-specific IR's.

This patch adds the same basic IR polling code used by bttv, cx88 and saa7134, and
shares the common getkey masks defined at ir-common.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9591): v4l core: fix debug printk for enumberating framerates
Mauro Carvalho Chehab [Wed, 12 Nov 2008 04:03:02 +0000 (01:03 -0300)]
V4L/DVB (9591): v4l core: fix debug printk for enumberating framerates

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9590): Add registration for Pinnacle 80e ATSC tuner
Devin Heitmueller [Wed, 12 Nov 2008 05:05:28 +0000 (02:05 -0300)]
V4L/DVB (9590): Add registration for Pinnacle 80e ATSC tuner

Add registration for Pinnacle 80e ATSC tuner

Register the em2874 based Pinnacle 80e device.  Note that support for this
device also requires the new drx-j driver (which is not available yet)

Thanks for Ray Lu from Empia for providing the em2874 datasheet.
Thanks to Joerg Schindler from Pinnacle for providing sample hardware.
Thanks to Rainer Miethling from Pinnacle for providing engineering support.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9589): Properly support capture start on em2874
Devin Heitmueller [Wed, 12 Nov 2008 05:05:24 +0000 (02:05 -0300)]
V4L/DVB (9589): Properly support capture start on em2874

Properly support capture start on em2874

The transport stream enable register moved in the em2874, so make it work
properly.

Thanks for Ray Lu from Empia for providing the em2874 datasheet.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9588): Don't load em28xx audio module for digital-only devices
Devin Heitmueller [Wed, 12 Nov 2008 05:05:19 +0000 (02:05 -0300)]
V4L/DVB (9588): Don't load em28xx audio module for digital-only devices

Rework the logic so that the em28xx-alsa module does not get loaded for devices
that don't support analog audio (such as the em2874)

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9587): Handle changes to endpoint layout in em2874
Devin Heitmueller [Wed, 12 Nov 2008 05:02:17 +0000 (02:02 -0300)]
V4L/DVB (9587): Handle changes to endpoint layout in em2874

Empia moved around their endpoint configuration in newer chips, so accommodate
the changes

Thanks for Ray Lu from Empia for providing the em2874 datasheet.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9586): Fix possible null pointer dereference in info message
Devin Heitmueller [Wed, 12 Nov 2008 05:05:15 +0000 (02:05 -0300)]
V4L/DVB (9586): Fix possible null pointer dereference in info message

Fix case where we could end up dereferencing a NULL pointer if dev->vdev or
dev->vbi_dev were not set properly.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9585): Skip reading eeprom in newer Empia devices
Devin Heitmueller [Wed, 12 Nov 2008 05:05:10 +0000 (02:05 -0300)]
V4L/DVB (9585): Skip reading eeprom in newer Empia devices

Empia switched to a 16-bit addressable eeprom in newer devices.  While we
could certainly write a routine to read the eeprom, there is nothing of use
in there that cannot be accessed through registers, and there is the risk that
we could corrupt the eeprom (since a 16-bit read call is interpreted as a
write call by 8-bit eeproms).  So just be safe and bail out of the function.

Thanks for Ray Lu from Empia for providing the em2874 datasheet.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9584): Support different GPIO/GPO registers for newer devices
Devin Heitmueller [Wed, 12 Nov 2008 05:05:06 +0000 (02:05 -0300)]
V4L/DVB (9584): Support different GPIO/GPO registers for newer devices

Empia moved the location of the GPIO/GPO registers in newer devices.  Add the
ability to specify the relocated registers (including caching of register
contents).

Thanks for Ray Lu from Empia for providing the em2874 datasheet.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9583): Remember chip id of devices at initialization
Devin Heitmueller [Wed, 12 Nov 2008 05:05:02 +0000 (02:05 -0300)]
V4L/DVB (9583): Remember chip id of devices at initialization

When setting up the device, remember the chip id, so we can control behavior
in the future without having to read the register continuously.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9582): Add a EM28XX_NODECODER option to the list of available decoders
Devin Heitmueller [Wed, 12 Nov 2008 05:04:57 +0000 (02:04 -0300)]
V4L/DVB (9582): Add a EM28XX_NODECODER option to the list of available decoders

Add a EM28XX_NODECODER option to the list of available decoders.  This option
becomes important for devices that do not have analog support.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9581): Remove unused variable from em28xx-audio.c
Devin Heitmueller [Wed, 12 Nov 2008 05:04:53 +0000 (02:04 -0300)]
V4L/DVB (9581): Remove unused variable from em28xx-audio.c

Remove unused variable from em28xx-audio.c

Fix warning for unused "ret" variable

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9580): Add chip id for em2874 to list of known chips
Devin Heitmueller [Wed, 12 Nov 2008 05:04:48 +0000 (02:04 -0300)]
V4L/DVB (9580): Add chip id for em2874 to list of known chips

Add em2874 chip id

Add chip id for em2874 to list of known chips

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9579): v4l core: a few get ioctls were lacking memory clean
Mauro Carvalho Chehab [Wed, 12 Nov 2008 00:15:03 +0000 (21:15 -0300)]
V4L/DVB (9579): v4l core: a few get ioctls were lacking memory clean

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9578): v4l core: add support for enumerating frame sizes and intervals
Mauro Carvalho Chehab [Wed, 12 Nov 2008 00:13:47 +0000 (21:13 -0300)]
V4L/DVB (9578): v4l core: add support for enumerating frame sizes and intervals

video_ioctl2 lacks implementation of those two ioctls:
- VIDIOC_ENUM_FRAMESIZES and VIDIOC_ENUM_FRAMEINTERVALS

Adds implementation for those.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9577): saa7134-dvb: MFE attachment clean-up for saa-7134 dvb
Darron Broad [Tue, 11 Nov 2008 11:50:02 +0000 (08:50 -0300)]
V4L/DVB (9577): saa7134-dvb: MFE attachment clean-up for saa-7134 dvb

This cleans-up MFE attachment for saa-7134 dvb
devices.

note: MFE is not fully implemented here yet.

Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9576): cx88-dvb: MFE attachment clean-up for HVR-3000/4000
Darron Broad [Tue, 11 Nov 2008 11:48:27 +0000 (08:48 -0300)]
V4L/DVB (9576): cx88-dvb: MFE attachment clean-up for HVR-3000/4000

This cleans-up MFE attachment for these cards plus
two cases of potential memory leak on attachment
failure.

Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9572a): Whitespace cleanup
Mauro Carvalho Chehab [Tue, 11 Nov 2008 01:35:00 +0000 (23:35 -0200)]
V4L/DVB (9572a): Whitespace cleanup

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9570): uvcvideo: Handle failed video GET_{MIN|MAX|DEF} requests more gracefully
Laurent Pinchart [Sat, 8 Nov 2008 22:14:50 +0000 (19:14 -0300)]
V4L/DVB (9570): uvcvideo: Handle failed video GET_{MIN|MAX|DEF} requests more gracefully

Failed requests will now generate a one-time warning message instead of the
usual "Failed to query..." error, which should be more user-friendly. The
driver will also recover automatically from failed GET_MIN/GET_MAX requests
when the device is half-broken without requiring the MINMAX quirk (fully
broken devices still need the quirk).

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9563): gspca: Let gspca handle the webcam 0471:0328 instead of sn9c102.
Jean-Francois Moine [Mon, 10 Nov 2008 07:45:51 +0000 (04:45 -0300)]
V4L/DVB (9563): gspca: Let gspca handle the webcam 0471:0328 instead of sn9c102.

According to http://bugzilla.kernel.org/show_bug.cgi?id=11997,
the driver sn9c102 does not work for this webcam.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9560): gspca: Let gspca handle the webcam 0c45:602c instead of sn9c102.
Jean-Francois Moine [Fri, 7 Nov 2008 07:53:28 +0000 (04:53 -0300)]
V4L/DVB (9560): gspca: Let gspca handle the webcam 0c45:602c instead of sn9c102.

According to http://bugzilla.kernel.org/show_bug.cgi?id=11920,
the driver sn9c102 does not work for this webcam.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9548): gspca: Fix Kconfig CodingStyle
Frederic Cand [Sat, 25 Oct 2008 08:03:19 +0000 (05:03 -0300)]
V4L/DVB (9548): gspca: Fix Kconfig CodingStyle

Signed-off-by: Frederic Cand <frederic.cand@anevia.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9540): dsbr100: add disabled controls and fix version
Alexey Klimov [Sat, 8 Nov 2008 03:31:50 +0000 (00:31 -0300)]
V4L/DVB (9540): dsbr100: add disabled controls and fix version

Patch adds disabled controls in
v4l2_queryctrl struct. Also version of driver corrected.

--

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9539): dsbr100: add suspend and resume
Alexey Klimov [Sat, 8 Nov 2008 03:40:46 +0000 (00:40 -0300)]
V4L/DVB (9539): dsbr100: add suspend and resume

This patch adds support for suspend and resume methods in driver.
Without this kradio and gnomeradio crashes during resume.
Also .supports_autosuspend in usb_driver struct set equal to 0 to avoid
suspending of module if usb_autosuspend enabled.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9572): Whitespace cleanup
Mauro Carvalho Chehab [Mon, 10 Nov 2008 21:56:20 +0000 (18:56 -0300)]
V4L/DVB (9572): Whitespace cleanup

Some recent patches added a few bad whitespaces. Remove that.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9569): uvcvideo: Sort the frame descriptors during parsing
Laurent Pinchart [Sat, 8 Nov 2008 21:53:49 +0000 (18:53 -0300)]
V4L/DVB (9569): uvcvideo: Sort the frame descriptors during parsing

The UVC specification does not require frame descriptors to be sorted by
bFrameIndex. At least one camera (145f:013e) is known not to sort the
descriptors properly, so they need to be sorted during parsing as the driver
then accesses them by index.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9568): uvcvideo: Add support for Lenovo Thinkpad SL500 integrated webcam
Laurent Pinchart [Sat, 8 Nov 2008 21:52:04 +0000 (18:52 -0300)]
V4L/DVB (9568): uvcvideo: Add support for Lenovo Thinkpad SL500 integrated webcam

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9567): uvcvideo: Add support for Samsung Q310 integrated webcam
Laurent Pinchart [Sat, 8 Nov 2008 21:47:28 +0000 (18:47 -0300)]
V4L/DVB (9567): uvcvideo: Add support for Samsung Q310 integrated webcam

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9565): gspca: Remove empty lines in traces.
Jean-Francois Moine [Mon, 10 Nov 2008 08:56:55 +0000 (05:56 -0300)]
V4L/DVB (9565): gspca: Remove empty lines in traces.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9562): gspca: Set the default frame rate to 30 fps for sensor ov764x in...
Jean-Francois Moine [Sat, 8 Nov 2008 09:10:19 +0000 (06:10 -0300)]
V4L/DVB (9562): gspca: Set the default frame rate to 30 fps for sensor ov764x in ov519.

This patch fixes the bad picture at low resolution (320x240).

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9561): gspca: Cleanup the source of ov519.
Jean-Francois Moine [Sat, 8 Nov 2008 09:03:37 +0000 (06:03 -0300)]
V4L/DVB (9561): gspca: Cleanup the source of ov519.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9553): gspca: Webcam 145f:013a added in pac207.
Jean-Francois Moine [Tue, 28 Oct 2008 11:00:23 +0000 (08:00 -0300)]
V4L/DVB (9553): gspca: Webcam 145f:013a added in pac207.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9552): gspca: Simplify the ISOC packet scanning in tv8532.
Jean-Francois Moine [Mon, 27 Oct 2008 07:43:49 +0000 (04:43 -0300)]
V4L/DVB (9552): gspca: Simplify the ISOC packet scanning in tv8532.

This patch
- makes unuseful the temporary buffers
- and also fixes the bad colors problem.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9548): gspca: Properly indent Kconfig
Frederic Cand [Mon, 10 Nov 2008 22:05:06 +0000 (20:05 -0200)]
V4L/DVB (9548): gspca: Properly indent Kconfig

Signed-off-by: Frederic Cand <frederic.cand@anevia.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9547): gspca: Version change.
Jean-Francois Moine [Fri, 24 Oct 2008 08:02:58 +0000 (05:02 -0300)]
V4L/DVB (9547): gspca: Version change.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9546): gspca: Bad scanning of ISOC packets in tv8532.
Jean-Francois Moine [Fri, 24 Oct 2008 07:19:29 +0000 (04:19 -0300)]
V4L/DVB (9546): gspca: Bad scanning of ISOC packets in tv8532.

- The scan function must know about empty packets.
- Packets starting with 0x80 must not be counted.
- Wrong size of the translated frame.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9545): gspca: Add a flag for empty ISOC packets.
Jean-Francois Moine [Thu, 23 Oct 2008 10:29:51 +0000 (07:29 -0300)]
V4L/DVB (9545): gspca: Add a flag for empty ISOC packets.

- This flag is needed by some subdrivers as tv8532 for start
  of frame detection.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9544): gspca: Clear the bulk endpoint at starting time when bulk transfer.
Jean-Francois Moine [Wed, 22 Oct 2008 17:51:56 +0000 (14:51 -0300)]
V4L/DVB (9544): gspca: Clear the bulk endpoint at starting time when bulk transfer.

- usb_clear_halt() added in gspca and removed in finepix.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9543): gspca: Adjust autoexpo values for cams with a vga sensor in sonixb.
Hans de Goede [Wed, 22 Oct 2008 07:59:29 +0000 (04:59 -0300)]
V4L/DVB (9543): gspca: Adjust autoexpo values for cams with a vga sensor in sonixb.

- This patch makes sonixb.c strife to different values during autoexposure
  for sif versus vga sensors.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9541): gspca: Add infrared control for sonixj - mi0360.
Jean-Francois Moine [Fri, 17 Oct 2008 10:48:24 +0000 (07:48 -0300)]
V4L/DVB (9541): gspca: Add infrared control for sonixj - mi0360.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9537): Add TerraTec Cinergy S USB support
Igor M. Liplianin [Thu, 6 Nov 2008 01:12:56 +0000 (22:12 -0300)]
V4L/DVB (9537): Add TerraTec Cinergy S USB support

Add TerraTec Cinergy S USB support

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Acked-by: Thorsten Leupold <th86@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9536): WinFast DTV2000 H: add support for missing analog inputs
Vincent Pelletier [Sun, 9 Nov 2008 16:50:07 +0000 (13:50 -0300)]
V4L/DVB (9536): WinFast DTV2000 H: add support for missing analog inputs

Add support for the following inputs:
 - radio tuner
 - composite 1 & 2 (only 1 is physically available, but composite 2 is also
   advertised by windows driver)
 - svideo

Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9535): cx88-dvb: Remove usage core->prev_set_voltage from cx24116 based...
Igor M. Liplianin [Sun, 9 Nov 2008 17:59:33 +0000 (14:59 -0300)]
V4L/DVB (9535): cx88-dvb: Remove usage core->prev_set_voltage from cx24116 based cards.

Remove usage core->prev_set_voltage from cx24116 based cards,
as it does not make sense for the demod.

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9534): cx88: Add support for Prof 6200 DVB-S PCI card
Igor M. Liplianin [Sun, 9 Nov 2008 18:26:25 +0000 (15:26 -0300)]
V4L/DVB (9534): cx88: Add support for Prof 6200 DVB-S PCI card

The card based on stv0299 or stv0288 demodulators.

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9533): cx88: Add support for TurboSight TBS8910 DVB-S PCI card
Igor M. Liplianin [Sun, 9 Nov 2008 18:25:31 +0000 (15:25 -0300)]
V4L/DVB (9533): cx88: Add support for TurboSight TBS8910 DVB-S PCI card

The card based on stv0299 or stv0288 demodulators.

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9532): Properly handle error messages during alsa registering
Mauro Carvalho Chehab [Fri, 7 Nov 2008 17:24:18 +0000 (14:24 -0300)]
V4L/DVB (9532): Properly handle error messages during alsa registering

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9520): stb0899 Remove double .read_status assignment
Igor M. Liplianin [Fri, 31 Oct 2008 01:04:56 +0000 (22:04 -0300)]
V4L/DVB (9520): stb0899 Remove double .read_status assignment

Currently in stb0899 code  it appears double .read_status assignment
Send patch to fix it.

Cc: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9514): cx18: Fix PLL freq computation for debug display
Andy Walls [Sun, 2 Nov 2008 21:54:10 +0000 (18:54 -0300)]
V4L/DVB (9514): cx18: Fix PLL freq computation for debug display

cx18: Fix PLL freq computation for debug display.
The code to compute the PLL freq from register values was storing an
intermediate 56 bit result in a 32 bit type, causing a nonsense value to
be displayed.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9530): Add new pixel format VYUY 16 bits wide.
Robert Jarzmik [Wed, 5 Nov 2008 00:59:37 +0000 (21:59 -0300)]
V4L/DVB (9530): Add new pixel format VYUY 16 bits wide.

There were already 3 YUV formats defined :
 - YUYV
 - YVYU
 - UYVY
The only left combination is VYUY, which is added in this
patch.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9529): cx88: add a second PCI ID for ATI TV Wonder Pro
Patrice Levesque [Sun, 2 Nov 2008 19:37:35 +0000 (16:37 -0300)]
V4L/DVB (9529): cx88: add a second PCI ID for ATI TV Wonder Pro

There's a second PCI identifier for the ATI TV WONDER PRO card
(0x1002:0x00f9).

Attached is a patch to kernel 2.6.27 that adds autodetection for this
version.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9526): af9015: add support for KWorld USB DVB-T TV Stick II (VS-DVBT 395U)
Antti Palosaari [Tue, 4 Nov 2008 15:57:47 +0000 (12:57 -0300)]
V4L/DVB (9526): af9015: add support for KWorld USB DVB-T TV Stick II (VS-DVBT 395U)

- add USB-ID 1b80:e396 for KWorld USB DVB-T TV Stick II (VS-DVBT 395U)

Thanks-to: Bo Hansen <bohans@online.no>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9525): af9015: add support for AverMedia Volar X remote.
Jose Alberto Reguero [Tue, 4 Nov 2008 14:38:01 +0000 (11:38 -0300)]
V4L/DVB (9525): af9015: add support for AverMedia Volar X remote.

This patch add support for AverMedia Volar X remote.

Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9523): Increase number of BT8XX devices supported in a system
Alan McIvor [Thu, 20 Mar 2008 01:18:11 +0000 (22:18 -0300)]
V4L/DVB (9523): Increase number of BT8XX devices supported in a system

The BT8XX device driver currently only supports 16 such devices in a
system. This is too small for many surveillance applications. This
patch increases the number to 32.

Signed-off-by: Alan McIvor <alan.mcivor@reveal.co.nz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9522): Increase number of SAA7134 devices supported in a system
Alan McIvor [Thu, 20 Mar 2008 01:17:24 +0000 (22:17 -0300)]
V4L/DVB (9522): Increase number of SAA7134 devices supported in a system

The SAA7134 device driver currently only supports 8 such devices in a
system. This is too small for many surveillance applications. This
patch increases the number to 32.

Signed-off-by: Alan McIvor <alan.mcivor@reveal.co.nz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9521): V4L: struct device - replace bus_id with dev_name(), dev_set_name()
Kay Sievers [Thu, 30 Oct 2008 03:51:46 +0000 (00:51 -0300)]
V4L/DVB (9521): V4L: struct device - replace bus_id with dev_name(), dev_set_name()

This patch is part of a larger patch series which will remove
the "char bus_id[20]" name string from struct device. The device
name is managed in the kobject anyway, and without any size
limitation, and just needlessly copied into "struct device".

To set and read the device name dev_name(dev) and dev_set_name(dev)
must be used. If your code uses static kobjects, which it shouldn't
do, "const char *init_name" can be used to statically provide the
name the registered device should have. At registration time, the
init_name field is cleared, to enforce the use of dev_name(dev) to
access the device name at a later time.

We need to get rid of all occurrences of bus_id in the entire tree
to be able to enable the new interface. Please apply this patch,
and possibly convert any remaining remaining occurrences of bus_id.

We want to submit a patch to -next, which will remove bus_id from
"struct device", to find the remaining pieces to convert, and finally
switch over to the new api, which will remove the 20 bytes array
and does no longer have a size limitation.

Thanks,
Kay

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB: remove unused #include <version.h>
Huang Weiyi [Fri, 31 Oct 2008 17:50:06 +0000 (14:50 -0300)]
V4L/DVB: remove unused #include <version.h>

The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
  drivers/media/dvb/frontends/si21xx.c

This patch removes the said #include <version.h>.

Cc: Igor M. Liplianin <liplianin@tut.by>
Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9518): radio-mr800: remove warn, info and err messages
Alexey Klimov [Tue, 4 Nov 2008 18:02:36 +0000 (15:02 -0300)]
V4L/DVB (9518): radio-mr800: remove warn, info and err messages

Patch removes warn(), err() and info() statements in
drivers/media/radio/radio-mr800.c, and place dev_warn, dev_info in right
places.
Printk changed on pr_info and pr_err macro. Also new macro
amradio_dev_warn defined. Name in usb driver struct changed on
MR800_DRIVER_NAME.

--

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Acked-by: David Ellingsworth <david@identd.dyndns.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9512): cx18: Fix write retries for registers that always change - part 3.
Andy Walls [Sun, 2 Nov 2008 13:59:04 +0000 (10:59 -0300)]
V4L/DVB (9512): cx18: Fix write retries for registers that always change - part 3.

cx18: Fix write retries for registers that always change - part 3.
Fix the io for the rest of the registers that will often not read back the
value just written.  Modified register readback checks to make sure the
intended effect was achieved without constantly rewriting the registers.
The one outstanding register remaining is 0xc72014 CX18_AUDIO_ENABLE, whose
behavior on writes I have yet to determine.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9508): ivtv: enable tuner support for Yuan PG600-2
Hans Verkuil [Mon, 3 Nov 2008 11:46:00 +0000 (08:46 -0300)]
V4L/DVB (9508): ivtv: enable tuner support for Yuan PG600-2

The Yuan PG600-2 has a working tuner, so this can be enabled.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9507): v4l: remove EXPERIMENTAL from several drivers
Hans Verkuil [Mon, 3 Nov 2008 11:07:44 +0000 (08:07 -0300)]
V4L/DVB (9507): v4l: remove EXPERIMENTAL from several drivers

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9504): dvbdev: fix typo causing 2.6.28 compile error
Hans Verkuil [Mon, 3 Nov 2008 08:38:43 +0000 (05:38 -0300)]
V4L/DVB (9504): dvbdev: fix typo causing 2.6.28 compile error

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9503): v4l: remove inode argument from video_usercopy
Hans Verkuil [Sat, 1 Nov 2008 11:25:11 +0000 (08:25 -0300)]
V4L/DVB (9503): v4l: remove inode argument from video_usercopy

The inode argument was never used. Removing it from video_usercopy
brings the function pointer type of video_usercopy in line with similar
v4l2 functions, thus simplifying several drivers.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9502): ov772x: CodingStyle improvements
Hans Verkuil [Thu, 30 Oct 2008 13:57:14 +0000 (10:57 -0300)]
V4L/DVB (9502): ov772x: CodingStyle improvements

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9500): cx88-dvb: MFE attachment fix-up
Darron Broad [Thu, 30 Oct 2008 08:07:44 +0000 (05:07 -0300)]
V4L/DVB (9500): cx88-dvb: MFE attachment fix-up

MFE attachment fix-up

Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9498): Simplify video standards enumeration
Mauro Carvalho Chehab [Thu, 30 Oct 2008 17:28:19 +0000 (14:28 -0300)]
V4L/DVB (9498): Simplify video standards enumeration

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9497): tda9887/cx88: Adds SECAM/BGH standards
Frederic CAND [Thu, 30 Oct 2008 07:53:07 +0000 (04:53 -0300)]
V4L/DVB (9497): tda9887/cx88: Adds SECAM/BGH standards

Adds secam bgh support

Signed-off-by: Frederic CAND <frederic.cand@anevia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9491): rationalise addresses to one common one
Alan Cox [Mon, 27 Oct 2008 18:13:47 +0000 (15:13 -0300)]
V4L/DVB (9491): rationalise addresses to one common one

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9490): linux-next: v4l-dvb tree build failure
Stephen Rothwell [Wed, 29 Oct 2008 05:20:11 +0000 (02:20 -0300)]
V4L/DVB (9490): linux-next: v4l-dvb tree build failure

Today's linux-next build (x86_64 allmodconfig) failed like this:
drivers/media/dvb/dvb-core/dvbdev.c: In function 'dvb_register_device':
drivers/media/dvb/dvb-core/dvbdev.c:254: error: implicit declaration of function 'nums2minor'

Caused by commit f3d9182030d9655d9ffff33dfceb45b4a127b6ec ("V4L/DVB
(9361): Dynamic DVB minor allocation") which clearly has not even been
built with CONFIG_DVB_DYNAMIC_MINORS=y.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9488): Add ov772x driver
Kuninori Morimoto [Fri, 24 Oct 2008 18:43:07 +0000 (15:43 -0300)]
V4L/DVB (9488): Add ov772x driver

This patch adds ov772x driver that use soc_camera framework.
It was tested on SH Migo-r board.

Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9484): v4l: rename compat_ioctl32.c to v4l2-compat-ioctl32.c
Hans Verkuil [Wed, 22 Oct 2008 03:04:45 +0000 (00:04 -0300)]
V4L/DVB (9484): v4l: rename compat_ioctl32.c to v4l2-compat-ioctl32.c

All core v4l sources should start with 'v4l2-'
This file was the last one for which this was not the case.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9479): Wait for a maximum of 100mS
Manu Abraham [Tue, 28 Oct 2008 16:50:01 +0000 (13:50 -0300)]
V4L/DVB (9479): Wait for a maximum of 100mS

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9474): cx18: Remove redundant block scope variable in cx18_probe() for sparse
Andy Walls [Sun, 26 Oct 2008 00:33:22 +0000 (21:33 -0300)]
V4L/DVB (9474): cx18: Remove redundant block scope variable in cx18_probe() for sparse

cx18: Remove redundant block scope variable in cx18_probe() to eliminate sparse
build warning.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9473): add DVB_DEVICE_NUM and DVB_ADAPTER_NUM to uevent
Kay Sievers [Tue, 28 Oct 2008 01:27:37 +0000 (22:27 -0300)]
V4L/DVB (9473): add DVB_DEVICE_NUM and DVB_ADAPTER_NUM to uevent

This allows udev to create proper device nodes without any
hacky shell scripts/programs to call, which guess these numbers
from the kernel device names.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9472): dm1105: fix the misuse of pci_dma_mapping_error
FUJITA Tomonori [Fri, 24 Oct 2008 09:13:23 +0000 (06:13 -0300)]
V4L/DVB (9472): dm1105: fix the misuse of pci_dma_mapping_error

pci_dma_mapping_error can't be used for pci_alloc_consistent
(pci_dma_mapping_error is for dma_map_single and dma_map_page).
pci_alloc_consistent returns NULL if the allocation fails.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9470): Disable PLL Loop while tuning
Ales Jurik [Sun, 26 Oct 2008 21:45:59 +0000 (18:45 -0300)]
V4L/DVB (9470): Disable PLL Loop while tuning

Signed-off-by: Ales Jurik <ajurik@quick.cz>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9469): Port STB0899 and STB6100
Manu Abraham [Sun, 26 Oct 2008 21:28:52 +0000 (18:28 -0300)]
V4L/DVB (9469): Port STB0899 and STB6100

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9468): Miscellaneous fixes
Reinhard Nissl [Wed, 9 Jul 2008 18:38:27 +0000 (15:38 -0300)]
V4L/DVB (9468): Miscellaneous fixes

 - Fix a bitfield
 - Set gain appropriately
 - Slept for the wrong duration

Signed-off-by: Reinhard Nissl <rnissl@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9467): Fix runtime verbosity
Reinhard Nissl [Wed, 9 Jul 2008 18:33:38 +0000 (15:33 -0300)]
V4L/DVB (9467): Fix runtime verbosity

Signed-off-by: Reinhard Nissl <rnissl@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9466): Bug: Fix incorrect Register definitions
Manu Abraham [Wed, 28 May 2008 08:08:48 +0000 (05:08 -0300)]
V4L/DVB (9466): Bug: Fix incorrect Register definitions

Thanks to Robert Schlabbach <robert_s@gmx.net> for pointing this out

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9465): Fix incorrect IF_AGC Bitfield definition
Manu Abraham [Tue, 27 May 2008 05:24:27 +0000 (02:24 -0300)]
V4L/DVB (9465): Fix incorrect IF_AGC Bitfield definition

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9464): Remove unreferenced delivery
Manu Abraham [Thu, 23 Oct 2008 21:47:55 +0000 (18:47 -0300)]
V4L/DVB (9464): Remove unreferenced delivery

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9463): Make delivery system standalone.
Manu Abraham [Sat, 8 Mar 2008 23:28:09 +0000 (20:28 -0300)]
V4L/DVB (9463): Make delivery system standalone.

Eventhough the delivery system is made standalone, DVBFE_SET_DELSYS
needs to be set as the very first operation, for a multistandard frontend

Splitting delivery system out as a new ioctl, makes things a bit more
easier to understand.

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9462): Allow specifying clock per device
Manu Abraham [Tue, 4 Mar 2008 22:19:58 +0000 (19:19 -0300)]
V4L/DVB (9462): Allow specifying clock per device

Optimizations galore: Blistering barnacles! The KNC1 and friends
like 90 Mhz clock much better rather than running at a higher
throttle, for almost similar hardware. he exact cause unknown,
possibly due to a lower voltage applied for the demod power supply.

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9461): Initialize SYSREG register
Manu Abraham [Thu, 23 Oct 2008 21:45:17 +0000 (18:45 -0300)]
V4L/DVB (9461): Initialize SYSREG register

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9460): Code Simplification
Manu Abraham [Sat, 1 Mar 2008 16:54:28 +0000 (13:54 -0300)]
V4L/DVB (9460): Code Simplification

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9459): We can now reduce the debug levels, just need to look at errors only.
Manu Abraham [Sat, 23 Feb 2008 22:10:56 +0000 (19:10 -0300)]
V4L/DVB (9459): We can now reduce the debug levels, just need to look at errors only.

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9458): Bugfix: gate control needs to be handled
Manu Abraham [Sat, 23 Feb 2008 21:02:45 +0000 (18:02 -0300)]
V4L/DVB (9458): Bugfix: gate control needs to be handled

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9457): Optimization, Fix a Bug
Manu Abraham [Sun, 3 Feb 2008 22:37:02 +0000 (19:37 -0300)]
V4L/DVB (9457): Optimization, Fix a Bug

* cut down some I/O operations by disabling "disable gate"
* budget_av was left with the gate open, thereby more susceptible
to RF interference due to I/O operations

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9456): Select STB0899, STB6100, TDA8261 for budget_ci and budget_av respecti...
Manu Abraham [Sun, 27 Jan 2008 17:57:05 +0000 (14:57 -0300)]
V4L/DVB (9456): Select STB0899, STB6100, TDA8261 for budget_ci and budget_av respectively.

Thanks to Marco Schluessler <marco@lordzodiac.de> for pointing it out

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9455): Cleanup: remove some superfluous stuff and dead commented out code
Manu Abraham [Fri, 25 Jan 2008 23:56:21 +0000 (20:56 -0300)]
V4L/DVB (9455): Cleanup: remove some superfluous stuff and dead commented out code

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9454): Fix a compile warning
Manu Abraham [Fri, 25 Jan 2008 23:39:16 +0000 (20:39 -0300)]
V4L/DVB (9454): Fix a compile warning

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9453): stb0899: fix compilation warnings
Manu Abraham [Fri, 25 Jan 2008 23:28:46 +0000 (20:28 -0300)]
V4L/DVB (9453): stb0899: fix compilation warnings

Cleanup/Optimization:
* Fix compile warnings
* The compile warnings helped to identify 2 unnecessary I/O operations

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9452): Fix invalid GCT mode
Manu Abraham [Fri, 25 Jan 2008 21:35:21 +0000 (18:35 -0300)]
V4L/DVB (9452): Fix invalid GCT mode

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9451): Bug! F/3 Clock domain was incorrectly used
Manu Abraham [Fri, 25 Jan 2008 21:25:13 +0000 (18:25 -0300)]
V4L/DVB (9451): Bug! F/3 Clock domain was incorrectly used

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9450): Code Review: #4 Consolidate configurations
Manu Abraham [Fri, 25 Jan 2008 21:20:48 +0000 (18:20 -0300)]
V4L/DVB (9450): Code Review: #4 Consolidate configurations

* Better readability
* Avoids duplication

Comments from Oliver Endriss <o.endriss@gmx.de>

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9449): Code Simplification: use do_div() instead
Reinhard Nissl [Mon, 21 Jan 2008 19:43:18 +0000 (16:43 -0300)]
V4L/DVB (9449): Code Simplification: use do_div() instead

Signed-off-by: Reinhard Nissl <rnissl@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>