summaryrefslogtreecommitdiff
path: root/linux/drivers
AgeCommit message (Collapse)Author
2005-12-28Replace AUDC_SET_INPUT with VIDIOC_S_AUDIO in wm8775.Hans Verkuil
- Replace AUDC_SET_INPUT with VIDIOC_S_AUDIO. - Added V4L2_CID_AUDIO_MUTE. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-28Use VIDIOC_S_AUDIO instead of AUDC_SET_INPUT in cs53l32aHans Verkuil
- Replace AUDC_SET_INPUT with VIDIOC_S_AUDIO. - Added V4L2_CID_AUDIO_MUTE. - Minimum volume is -96 dB, not -90. - Show volume in VIDIOC_LOG_STATUS. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-27Fixes Kconfig warning at saa7134 KconfigMauro Carvalho Chehab
- Fixes: Warning! Found recursive dependency: VIDEO_SAA7134_ALSA VIDEO_SAA7134_OSS VIDEO_SAA7134_ALSA Thanks-to: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-27add firmware instructions for nxt2002 and nxt2004Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-27make the firmware dir documentation and comments consistent in the v4l-dvb tree.Michael Krufky
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-27reorganize tuner-simple threshold structure.Michael Krufky
- create an array containing frequency threshold and control byte. - allows for an arbitrary amount of frequency ranges to be set, like dvb-pll. - improves code readability. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-27dst_ca __user annotations, portability fixesMauro Carvalho Chehab
From: Al Viro <viro@zeniv.linux.org.uk> kernel-sync Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-26Make late module load fix looking the same as kernel version.Mauro Carvalho Chehab
kernel-sync. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-26Included advanced debug option to tvp5150.cMauro Carvalho Chehab
- Included advanced debug option to tvp5150.c - Now, advanced debug info is the first item at V4L menu. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-26Fixed API to set I2S speed controlMauro Carvalho Chehab
- Created a new ioctl to control I2S speed. Old calls to an inadequate V4L2 API replaced. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-25Several improvements at tvp5150 driverMauro Carvalho Chehab
- Now reset do init tvp5150 registers to its default. - Debug messages improved. - Implemented video standard selection function. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-25replace <media/i2c-compat.h> with "i2c-compat.h"Michael Krufky
-#include <media/i2c-compat.h> +#include "i2c-compat.h" Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-24More changes to cx88-alsa buffersRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> the videobuf sequence now looks complete. Still no IRQ activity, though. Signed-off-by:
2005-12-23Newer module to handle vp3054 secondary I2C bus.Mauro Carvalho Chehab
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> - Newer module to handle vp3054 secondary I2C bus. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> Signed-off-by:
2005-12-23Add support for VP-3054 HDTV boardMauro Carvalho Chehab
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> - Added support for VP-3054 (aka DigitalNow DNTV Live! DVB-T Pro!). - This board has a secondary I2C bus and remote control. - Added a new module to handle secondary I2C bus on this board. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-22minor whitespace cleanups; fixed videodev.c broken backwards compat for ↵Michael Krufky
kernels < 2.6.12 - fixed videodev.c broken backwards compat for kernels < 2.6.12 - minor whitespace cleanups Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-22saa7134 card #58 has a newer revision with a new subsystem IDRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Added new ID for different revision of card #58. It's the same card, but with a tda8275a instead of a tda8275 Signed-off-by:
2005-12-22Calculate the saa7115 AMCLK regs instead of using fixed valuesHans Verkuil
- Calculate the audio master clock registers from the actual frequencies. This simplifies the code and it also prepares for adding CGC2 support. - VIDIOC_INT_AUDIO_CLOCK_FREQ now receives an u32 instead of an enum. It is more generic and actually easier to implement. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-22Add remote for Compro Videomate Gold+ Pal version.Nickolay V. Shmyrev
From: Nickolay V. Shmyrev <nshmyrev@yandex.ru> * linux/drivers/media/video/saa7134/saa7134-cards.c: (saa7134_board_init1): * linux/drivers/media/video/saa7134/saa7134-input.c: (saa7134_input_init1): Add remote. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-12-21Changes saa7134 DMA sound modules to late_initcall() to prevent oopsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Replaced module_init() with late_initcall() so sound core can be loaded before these modules, to prevent an oops when booting with them statically compiled into the kernel. Signed-off-by:
2005-12-20removed unnecessary "select" from KconfigRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> SND_PCM_OSS isn't necessary for the OSS driver Signed-off-by:
2005-12-20Give saa7134 DMA audio modules their own Kconfig optionsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> the saa7134 DMA sound modules now have their own Kconfig entries, and if built statically enforce exclusivity Signed-off-by:
2005-12-20Initialize the dvb-usb-device-pointer to NULLPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Initialize the the dvb-usb-device-pointer in the -init function to NULL, to be sure that a dvb-usb-device was really initialized. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-12-20Remove #ifdef BTTV_BOARD_TWINHAN_VP3021Michael Krufky
As far back as the video4linux cvs repository goes, there is no mention of BTTV_TWINHAN_VP3021. It seems that this was done for the sake of backwards compatability with some older v4l, but this can no longer be necessary due to the v4l/dvb cvs merger, nor should this have ever existed in the upstream kernel. Signed-off-by: Michael Krufky <mkrufky@m1k.net> Acked-by: Manu Abraham <manu@linuxtv.org>
2005-12-20Fix saa7134 ALSA/OSS collisionsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> When ALSA or OSS are loaded, check if the other is present Fixed hotplug notifiers cleanup on module removal Signed-off-by:
2005-12-20Removed some unneeded #ifdef'sMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-20make cx25840 recover from some firmware load failuresTyler Trafford
From: Tyler Trafford <tatrafford@comcast.net> * linux/drivers/media/video/cx25840/cx25840-firmware.c: (fw_write): - In the rare event that a 333MHz i2c firmware load fails after writing some data, this fix makes the driver reset the DL_ADDR registers to the proper values before continuing on with 100MHz transfers. Signed-off-by: Tyler Trafford <tatrafford@comcast.net>
2005-12-20correct Thomson DTT 761x frequency rangesMichael Krufky
From: Michael Krufky <mkrufky@m1k.net> - corrected Thomson DTT 7611 tuner programming, based on spec sheet - renamed to Thomson DTT 761x - applies to DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A (DTT 7610 is similar, but slightly different programming) - corrected frequency ranges for analog and digital modes Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-19Fix for 64-bit compile warningHans Verkuil
Add the fix for the saa7146 64-bit compile warning (again). This time with comments and checked by Johannes Stezenbach. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-19Revert one 64-bit fix and improved other 64-bit fixesHans Verkuil
- Reverted objectionable fix in saa7146_hlp.c - Merged in improved dvb 64-bit fixes from Peter Beutner. Signed-off-by: Peter Beutner <p.beutner@gmx.net> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-18Replace del_timer with del_timer_syncRicardo Cerqueira
From: Andrew Morton <akpm@osdl.org> Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-12-18Fix bttv sub-device unregisterRicardo Cerqueira
From: Christopher Pascoe <c.pascoe@itee.uq.edu.au> Fixes sub-device release for BTTV. Without this, DVB modules can't be reloaded Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-12-18Fix CC outputHans Verkuil
- CC data was swapped the wrong way around. - Enabling CC disabled XDS and vice versa: these two should be independent from one another. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-18Fix a broken logic that didn't cover all standards.Mauro Carvalho Chehab
- Fix a broken logic that didn't cover all standards. - Fix compilation failure with gcc 2.95.3. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-18Fix a broken logic that didn't cover all standards.Mauro Carvalho Chehab
CC: Tyler Trafford <tatrafford@comcast.net> - Fix a broken logic that didn't cover all standards. - Fix compilation failure with gcc 2.95.3. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-18Fix compilation failure with gcc 2.95.3.Mauro Carvalho Chehab
Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-17Reverted latest two patchesMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-17fix build error.Michael Krufky
- if (std & V4L2_STD_NTSC_M_443) { + if (std & V4L2_STD_NTSC_443) { Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-17Fix compilation failure with gcc 2.95.3 and corrected set video stdMauro Carvalho Chehab
From:: Jean Delvare <khali@linux-fr.org> - Fix compilation failure with gcc 2.95.3. - Corrected a bug at video std check at cx25840 module Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-17Fixed compiling with gcc 2.9xMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-16Enable SPDIF output for DVB-S rev 2.3Oliver Endriss
Enable SPDIF output for DVB-S rev 2.3. Firmware 2623 or higher required. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-12-15Fix tuner 100 definition for hauppauge eepromRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Tuner 100 is the TUNER_PHILIPS_FMD1216ME_MK3, not TUNER_ABSENT. This was causing the tuner module to be skipped, and rendered boards with this value in the eeprom (like the HVR1100) unable to tune Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-12-14Fix 64-bit compile warningsHans Verkuil
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-14bttv VBI fixesHans Verkuil
From: Michael H. Schimek <mschimek@gmx.at> - V4L2_(G|S|TRY)_FMT returned incorrect VBI start lines for PAL-M, NTSC-JP, and PAL-60. They also returned an inaccurate VBI offset. - V4L2_(G|S)_FMT and V4L2_TRY_FMT disagreed about the start of VBI capturing in PAL and SECAM second field. Note the start line fixes may break applications using VIDIOCSVBIFMT because this ioctl fails when the driver does not support exactly the requested parameters. - V4L2_TRY_FMT did not clear the reserved field in struct v4l2_vbi_format. - V4L2_(S|TRY)_FMT did not expect very large or small VBI start or count values, returning wrong (but safe) counts due to an overflow. - VIDIOCGVBIFMT confused V4L and V4L2 VBI flags. However this had no effect because the flags have the same value and bttv never sets them. - In v4l_compat_translate_ioctl() the VIDIOC(G|S)VBIFMT code did not expect V4L2 drivers supporting VBI formats besides V4L2_PIX_FMT_GREY. Signed-off-by: Michael H. Schimek <mschimek@gmx.at> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-14more videobuf stuff included ad dsp_buffer_init. Still no joy.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-14Several fixes at videobuf and alsa stuff. Still doesn't work.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-13several fixes at videobuf stuff.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-13Videobuf code in alsa now compilesMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brtubo.com.br>
2005-12-13[PATCH] Decrease number of pointer derefs in flexcop-fe-tuner.cPatrick Boettcher
From: Jesper Juhl Here's a small patch to decrease the number of pointer derefs in drivers/media/dvb/b2c2/flexcop-fe-tuner.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - Improved readability -- orig: text data bss dec hex filename 3072 424 0 3496 da8 drivers/media/dvb/b2c2/flexcop-fe-tuner.o patched: text data bss dec hex filename 3041 424 0 3465 d89 drivers/media/dvb/b2c2/flexcop-fe-tuner.o -- Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-12-13More cx88-alsa changes. Doesn't crash on removal anymoreRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> - Bugfixes to allow the module to be removed without hard-locking the system Signed-off-by: