summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* V4L/DVB (9116): USB: remove info() macro from usb media driversGreg Kroah-Hartman2008-10-1216-202/+312
| | | | | | | | | | | | USB should not be having it's own printk macros, so remove info() and use the system-wide standard of dev_info() wherever possible. Cc: Douglas Landgraf <dougsland@gmail.com> Cc: Mike Isely <isely@pobox.com> Cc: Thierry Merle <thierry.merle@free.fr> Cc: Antoine Jacquet <royale@zerezo.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9114): dib0700: fix bad assignment of dib0700_xc5000_tuner_callback ↵Devin Heitmueller2008-10-121-8/+13
| | | | | | | | | | | | | | | after return call Put callback definition before function return and cleanup callback: Fix a bug where the xc5000 callback was being set *after* the return call (essentially resulting in dead code). Also cleanup the callback function to detect unknown commands. Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (8904): cx88: add missing unlock_kernelHans Verkuil2008-10-121-0/+1
| | | | | | | sparse found an unbalanced BKL usage. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9113): saa7134: fixes for the Asus Tiger Revision 1.00Hermann Pitton2008-10-124-6/+48
| | | | | | | | | | | | In opposite to the P7131 Dual this early OEM card has a male radio antenna connector and also no remote. We currently switch the DVB-T RF feed to the radio input, like on the P7131 with female radio connector used also for DVB-T and should improve this. Signed-off-by: Hermann Pitton <hermann-pitton@arcor.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9111): cx18: Up the version to 1.0.1Andy Walls2008-10-121-1/+1
| | | | | | | | | | cx18: Up the version to 1.0.1. This will make it easy to tell if retries of MMIO access are implemented or not in trouble reports. First course of action for I2C and other initialization problem reports will be to have user upgrade to v1.0.1 of driver. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9110): cx18: Add default behavior of checking and retrying PCI MMIO ↵Andy Walls2008-10-128-36/+427
| | | | | | | | | | | | | | | accesses cx18: Add default behavior of checking and retrying PCI MMIO accesses. The concept of checking and retrying PCI MMIO accesses for better reliability in older motherboards was suggested by Steve Toth <stoth@linuxtv.org>. This change implements MMIO retries and the retry_mmio module parameter that is enabled by default. Limited experiments have shown this is more reliable than the mmio_ndelay parameter. mmio_ndelay has insignificant effect with retries enabled. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9108): cinergyT2: add remote key repeat featureThierry MERLE2008-10-121-7/+45
| | | | | | | Implement key repeat feature for the cinergyT2 remote controller. Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9107): Alternative version of Terratec Cinergy T2 driverTomi Orava2008-10-1210-1195/+689
| | | | | | | | | Alternative version of the Terratec Cinergy T2 driver that uses the dvb framework. Signed-off-by: Tomi Orava <tomimo@ncircle.nullnet.fi> Signed-off-by: Thierry MERLE <thierry.merle@free.fr> [mchehab@redhat.com: fix dvb Makefile] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9105): correct Makefile symbol for stv0288 frontendJanne Grunau2008-10-121-1/+1
| | | | | Signed-off-by: Janne Grunau <janne-dvb@grunau.be> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9101): radio-mr800: Add driver for AverMedia MR 800 USB FM radio ↵Alexey Klimov2008-10-123-0/+641
| | | | | | | | | | | | | | devices This patch creates a new usb-radio driver, radio-mr800.c, that supports the AverMedia MR 800 USB FM radio devices. This device plugs into both the USB and an analog audio input, so this thing only deals with initialization and frequency setting, the audio data has to be handled by a sound driver. Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9098): Whitespace cleanupsMauro Carvalho Chehab2008-10-121-1/+1
| | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9097): gspca: Adjust control values and restore compilation of sonixj.Jean-Francois Moine2008-10-122-15/+14
| | | | | | | | | | - no compilation since last changeset - brightness is a signed value - better values of the color matrix [mchehab@redhat.com: fix a merge conflict] Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9096): gspca: Subdriver selection at config time.Erik Andren2008-10-123-40/+240
| | | | | | Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9095): gspca: Moves some sensor initialization to each sensor in m5602.Erik Andren2008-10-127-21/+20
| | | | | | Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9094): gspca: Frame counter in ALi m5602.Erik Andren2008-10-121-4/+6
| | | | | | Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9093): gspca: Cleanup code and small changes.Erik Andren2008-10-123-14/+11
| | | | | | | | | | - convert some #define to enum. - remove some comments. - return ENOMEM on memory allocation failure. Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9091): gspca: Subdriver m5602 (ALi) added.Erik Andren2008-10-1219-0/+5441
| | | | | | | | | | | | | | This patch adds support for the ALi m5602 usb bridge and is based on the gspca framework. It contains code for communicating with 5 different sensors: OmniVision OV9650, Pixel Plus PO1030, Samsung S5K83A, S5K4AA and finally Micron MT9M111. Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> [mchehab@redhat.com: fix m5602/Makefile] [mchehab@redhat.com: extern debug caused conflicts. Renamed to m5602_debug] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9090): gspca: Restart the state machine when no frame buffer in ↵Frank Zago2008-10-121-10/+11
| | | | | | | | finepix. Signed-off-by: Frank Zago <frank@zago.net> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9089): gspca: Remove the duplicated EOF (ff d9) in t613.Jean-Francois Moine2008-10-121-1/+1
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9088): gspca: New subdriver 'finepix' added.Frank Zago2008-10-123-1/+490
| | | | | | Signed-off-by: Frank Zago <frank@zago.net> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9087): gspca: Image transfer by bulk uses altsetting 0 with any ↵Jean-Francois Moine2008-10-122-16/+28
| | | | | | | | | | buffer size. - gspca_dev field 'bulk_size' added. - when only one altsetting usable, do image transfer by bulk. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9086): gspca: Use a kref to avoid potentialy blocking forever in ↵Frank Zago2008-10-122-12/+28
| | | | | | | | disconnect. Signed-off-by: Frank Zago <frank@zago.net> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9085): gspca: URB_NO_TRANSFER_DMA_MAP is required for isoc and bulk ↵Frank Zago2008-10-121-1/+3
| | | | | | | | transfers. Signed-off-by: Frank Zago <frank@zago.net> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9084): gspca: Fixed a few typos in comments.Frank Zago2008-10-121-6/+6
| | | | | | Signed-off-by: Frank Zago <frank@zago.net> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9083): gspca: URB_NO_TRANSFER_DMA_MAP is not useful for isoc transfers.Jean-Francois Moine2008-10-121-2/+1
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9082): gspca: Vertical flip the image by default in sonixj.Jean-Francois Moine2008-10-121-1/+1
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9081): gspca: Bad webcam name of 046d:092f in documentation.Jean-Francois Moine2008-10-121-1/+1
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9079): gspca: Return error code from stream start functions.Jean-Francois Moine2008-10-1222-34/+60
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9078): gspca: New exported function to retrieve the current frame ↵Jean-Francois Moine2008-10-122-12/+22
| | | | | | | buffer. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9077): gspca: Set the right V4L2_DEBUG values in the main driver.Frank Zago2008-10-121-2/+4
| | | | | | Signed-off-by: Frank Zago <frank@zago.net> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9076): gspca: USB direction lacking in spca561.Shane2008-10-121-1/+1
| | | | | | Signed-off-by: Shane <gnome42@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9074): gspca: sonixj webcam 0c45:60fe added.Jean-Francois Moine2008-10-121-1/+3
| | | | | Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9072): S2API: Add DTV_API_VERSION commandSteven Toth2008-10-123-2/+12
| | | | | | | | | This allows application developers to query the dvb-core API version dynamically, helping developers understand whether certain features will be available. Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9071): S2API: Implement result codes for individual commandsSteven Toth2008-10-122-4/+9
| | | | | | | | This allows application developers to determine which particular command in a sequence is invalid, or failing with error. Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9070): S2API: Removed the typedef for the commands, used defines ↵Steven Toth2008-10-121-35/+22
| | | | | | | instead. Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9069): cx88: Bugfix: all client disconnects put the frontend to sleep.Darron Broad2008-10-122-1/+5
| | | | | | | | | | | | | | | | | | | From the author: "This fixes the problem where previously all client disconnects put the analogue frontend into standby. In the following example, the first command is succesfully watching TV but the second command which returns EBUSY detunes the receiver by entering it into the standby state. tvtime -d /dev/video0 & cat /dev/video0 " Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Darron Broad <darron@kewl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9068): Kconfig dependency fix for DW2002 card with ST STV0288 ↵Igor M. Liplianin2008-10-121-0/+2
| | | | | | | | | demodulator. Kconfig dependency fix for DW2002 card with ST STV0288 demodulator. Signed-off-by: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9067): Kconfig correction for USB card modification with ↵Igor M. Liplianin2008-10-121-0/+1
| | | | | | | | | SI2109/2110 demodulator. Kconfig correction for USB card modification with SI2109/2110 demodulator. Signed-off-by: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9066): Pinnacle Hybrid PCTV Pro (pctv310c) DVB-T supportStéphane Voltz2008-10-122-3/+28
| | | | | | | | | | | | | | | | | | This patch against latest mercurial makes DVB-T working on Pinnacle Hybrid PCTV Pro (pctv310c). In cx88-dvb.c, a specific zl10353_config is created with the if2 inferred from the old comment in the currently used config. It is then used for attach, and i2c_gate_ctrl is set to NULL. The entry in cx88-cards.c is modified with GPIO gathered from windows with regspy, and DVB enabled. The frontend is set to XC3028_FE_ZARLINK456 to match the zl10353_config. It is working great with the freeview channels I can receive. Signed-off-by: Stéphane Voltz <stef.dev@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9065): saa7134: fix I2C remote controls on saa7134Dmitri Belimov2008-10-121-0/+4
| | | | | | | This is patch for solve this regression. Load ir-kbd-i2c module when remote is i2c type. Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9063): Add ADS Tech Instant HDTV PCI supportAdam Glover2008-10-124-2/+36
| | | | | | | Add PCI ID and device specific tables for ADS Tech Instant HDTV. [mchehab@redhat.com: make checkpatch happy and fix merge conflicts] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9062): Add support for Prolink Pixelview Global ExtremeMauro Carvalho Chehab2008-10-124-1/+41
| | | | | | | | Thanks to Sidney Matias <sidney.matias@gmail.com> for getting GPIO values and testing on this device. Cc: Sidney Matias <sidney.matias@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9061): saa7134: Add support for Real Audio 220Mauro Carvalho Chehab2008-10-126-1/+85
| | | | | | | | Thanks to Sistema Fenix (http://www.sistemafenix.com.br/) for sponsoring this development. Signed-off-by: Gilberto <gilberto@sistemafenix.com.br> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9060): saa7134: Add support for Avermedia PCI pure analog (M135A)Mauro Carvalho Chehab2008-10-126-0/+100
| | | | | | | | Thanks to Sistema Fenix (http://www.sistemafenix.com.br/) for sponsoring this development. Signed-off-by: Gilberto <gilberto@sistemafenix.com.br> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9059): saa7134: Add support for Encore version 5.3 boardMauro Carvalho Chehab2008-10-126-0/+95
| | | | | | | | Thanks to Sistema Fenix (http://www.sistemafenix.com.br/) for sponsoring this development. Signed-off-by: Gilberto <gilberto@sistemafenix.com.br> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9058): spca561: while balance -> white balance typoShane2008-10-121-1/+1
| | | | | | Cc: Jean-Francois Moine <moinejf@free.fr> Cc: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9057): saa7134: Hauppauge HVR-1110, support for radio and analog ↵David Bentham2008-10-121-10/+14
| | | | | | | | | | | audio in The audio switch is at 0x100 and radio on gpio 21. Tested-by: Thomas Genty <tomlohave@gmail.com> Signed-off-by: David Bentham <db260179@hotmail.com> Reviewed-by: Hermann Pitton <hermann-pitton@arcor.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9055): tuner-xc2028: Do a better job selecting firmware typeMauro Carvalho Chehab2008-10-123-11/+33
| | | | | | | | | | Firmware selection is very tricky on this device. This patch do a better selection of the proper firmware type, by using a code to hint if the firmware to be loaded should be D2620 or D2633. It also allows overriding the hint at the control structure. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9051): dib0700: use dvb_frontend->callback for xc5000 gpio resetMichael Krufky2008-10-121-3/+6
| | | | | | | | | | The tuner_callback function pointer from struct xc5000_config has been removed. Use dvb_frontend->callback instead. Also, mark function dib0700_xc5000_tuner_callback as static int. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callbackMichael Krufky2008-10-1231-124/+90
| | | | | Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
OpenPOWER on IntegriCloud