Age | Commit message (Collapse) | Author |
|
Semaphore to mutex conversion.
The conversion was generated via scripts, and the result was validated
automatically via a script as well.
Kernel-sync from patch 3318b
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Hans Verkuil
South Korea uses NTSC-M but with A2 audio instead of BTSC. Several audio
chips need this information in order to set the correct audio processing
registers.
Acked-by: Mauro Carvalho Chehab <mauro_chehab@yahoo.com.br>
Signed-off-by: Hans Verkuil
|
|
From: Ingo Molnar <mingo@elte.hu>
Semaphore to mutex conversion.
The conversion was generated via scripts, and the result was validated
automatically via a script as well.
build-tested.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
kernel-sync
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
- static vars are equal to zero by default. Removed
unnecessary =0 from them, saving some data space;
- Fixed compiling against kernels bellow 2.6.13.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
- Add VIDIOC_LOG_STATUS to the radio device ioctl list.
- Reduce the confusion between modes and standards
- Fix stereo reporting for radio.
- Don't set i2c configuration if the chip doesn't support it.
- Fix reporting of current standard for radio.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
- Now, all internal ioctls are at v4l2-common.h
- removed unused ioctl at saa6752hs.h
- all debug ioctl code moved to v4l2-common.c
- removed duplicated stuff from other cards
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
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>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
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>
|
|
From: Ricardo Cerqueira <v4l@cerqueira.org>
Merged ir-kbd-gpio into bttv as bttv-input, for consistency with other
input modules
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
|
|
kernel-sync
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- kernel-sync
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
kernel-sync
- Syncs bttv stuff with kernel version.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
[PATCH 9/11] MEDIA: replace all uses of pci_module_init with pci_register_driver
From: Otavio Salvador <otavio@debian.org>
This patch replace all calls to pci_module_init, that's deprecated and
will be removed in future, with pci_register_driver that should be
the used function now.
Signed-off-by: Otavio Salvador <otavio@debian.org>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
Remove AUDC_CONFIG_PINNACLE horror. This also fixes radio support
for mt20xx tuners.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: Michael H. Schimek <mschimek@gmx.at>
* ../linux/drivers/media/video/bttv-driver.c: (bttv_common_ioctls),
(bttv_do_ioctl):
Fixed bttv ioctls VIDIOC_ENUMINPUT, VIDIOCGTUNER, VIDIOC_QUERYCAP.
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Michael H. Schimek <mschimek@gmx.at>
|
|
From: Michael H. Schimek <mschimek@gmx.at>
* ../v4l/linux/drivers/media/video/bttv-driver.c:
* ../v4l/linux/drivers/media/video/video-buf.c:
bttv raw format fix to fix VIDIOCSPICT ioctl.
Signed-off-by: Michael H. Schimek <mschimek@gmx.at>
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
|
|
From: Michael H. Schimek <mschimek@gmx.at>
Signed-off-by: Michael H. Schimek <mschimek@gmx.at>
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
|
|
From:
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Michael H. Schimek <mschimek@gmx.at>
|
|
From: Luiz Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- Commented the code to avoid repeating events when pressing IR keys.
- Included explicit compat_ioctl32 handler.
CC: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
From: Arnd Bergmann <arnd@arndb.de>
This moves the 32 bit ioctl compatibility handlers for
Video4Linux into a new file and adds explicit calls to them
to each v4l device driver.
Unfortunately, there does not seem to be any code handling
the v4l2 ioctls, so quite often the code goes through two
separate conversions, first from 32 bit v4l to 64 bit v4l,
and from there to 64 bit v4l2. My patch does not change
that, so there is still much room for improvement.
Also, some drivers have additional ioctl numbers, for
which the conversion should be handled internally to
that driver.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
* ../linux/drivers/media/video/bttv-driver.c: (bttv_irq):
* ../linux/drivers/media/video/bttv-gpio.c: (bttv_any_irq):
* ../linux/drivers/media/video/bttv.h:
* ../linux/drivers/media/video/bttvp.h:
* ../linux/drivers/media/video/ir-kbd-gpio.c: (rc5_decode),
(ir_rc5_irq), (ir_rc5_timer_end), (ir_rc5_timer_keyup), (ir_probe),
(ir_remove):
Support for Nebula rc5-based gpio remote.
Signed-off-by: Mark Weaver <mark-clist@npsl.co.uk>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- Whitespace script improved.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
LOG_STATUS support to tda9887.c and bttv-driver.c.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
More intellect on clearing in bits on irq lock.
Signed-off-by: Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
|
|
- Lots of small changes to allow compiling with kernel 2.4.
Compilation result not tested yet.
- After this patch, .version should be removed, since its
syntax has changed.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
* bttvp.h:
- Rename vprintk to verbose_printk to fix name clash.
Signed-off-by: Bernd Petrovitsch <bernd@firmix.at>
|
|
|
|
* msp3400.c, tda9887.c, tuner-core.c:
- Step one, in preparation for 2.6.14-rcX compatability:
-#ifdef MM_KERNEL
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13)
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
* bttv-driver.c:
- don't enable gpioirq until after card probe.
- Pinnacle PCTV-Sat fifo overrun error fix.
gpioirq is enabled pretty early during the initialization
(bttv_probe) and later turned off when a card with no_gpioirq=1
is detected (bttv_init_card2). But that causes gpio irqs being
enabled for a while - in my case there are between some hundred
and some thousand (false) irqs delivered before the gpioirq is
disabled.
The patch just changes the default. gpio irqs are disabled while
probing and later enable when a card with no_gpioirq=0 is found.
The status whether a card gets gpio irqs or not stays the same.
Thanks to: Edgar Toernig <froese@gmx.de>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
|
|
* rds.h:
* saa6588.c:
- kernel module for acquiring RDS data from a SAA6588.
* bttv-driver.c:
- Allow multiple open() calls to /dev/radio
- Add read functionality for /dev/radio
Signed-off-by: Hans J. Koch <koch@hjk-az.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- New debug warn when no_overlay active.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- no_overlay now behaves as described on docs.
* doc/insmod-options:
- no_overlay flag description updated.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- treating MM_KERNEL as non-mm.
* bttv-cards.c,bttv-driver.c:
- no_overlay bttv insmod parameter now works.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
* Makefile, scripts/merge-trees.sh, scripts/unmerge-trees.sh:
- Fix cvs compile to work for both latest -linus and -mm trees.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
|
|
- pci_dma_supported() is called after pci_set_dma_mask() which
already did check that for us. The attached patch removes the
unneeded call to pci_dma_supported()
Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
- Removed remaining trailing spaces.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- driver.suspend API modified at 2.6.13-rc3-mm1.
- Warnings removed when compiling against 2.6.13-rc3-mm1.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
saa7134-cards.c
|
|
- use DMA_32BIT_MASK. Thanks to domen@coderock.org.
* tuner.h:
- Remove unneeded set_tuner from tuner structure.
* saa7134-cards.c, saa7134-tvaudio.c:
patch to switch external mux on mute on some cards.
* tuner-simple:
- unify tuner list
|
|
- New bttv module params:
- uv_ratio : allow a ratio of saturation between u and v. If you have a ratio
of 40 and a saturation of 100, usat will be 80 and vstat 120. Useful to correct
a bad color balance.
- full_luma_range : provide a better contrast in using the full range 0-253
of values instead of 16-253.
- coring : to have a better black level.
Thanks to Sylvain Meyer <sylvain.meyer@worldonline.fr>
|