Age | Commit message (Collapse) | Author |
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
merge:
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Marcin Rudowski <mar_rud@poczta.onet.pl>
This patch fixes default values for some picture controls:
- brightness set to 50% by default (now is 0%)
- hue set to 50% by default (now is 0%)
- sets saturation to datasheet value
- volume set to 0dB (now is -32dB)
and some left small fixes:
- twice offset adding
- balance didn't follow datasheet (bits[0:5] = attenuation;
bit[6] = channel to provide attenuation)
Signed-off-by: Marcin Rudowski <mar_rud@poczta.onet.pl>
Signed-off-by: Ian Pickworth <ian@pickworth.me.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Video_buf were concerned to allow PCI devices to be used as
video capture devices. This patch extends video_buf features
by virtualizing pci-dependent functions and allowing other
type of devices to use it.
It is still DMA centric, although it may be used also by
devices that emulates scatter/gather behavior or a DMA device
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Ian Pickworth <ian@pickworth.me.uk>
- fix temporary debug code by changing printk to dprintk at level 1.
- move CORE_IOCTL messages from level 1 to level 2.
- this should help with selective debugging,
while not filling people's logs up during normal use.
Signed-off-by: Ian Pickworth <ian@pickworth.me.uk>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
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>
|
|
Conversions from kmalloc+memset to k(z|c)alloc
Conversions from kmalloc+memset to k(z|c)alloc.
kernel-sync
Signed-off-by: Panagiotis Issaris <takis@issaris.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
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>
|
|
- now, default control values at cx88_cx8800_ctls are honored
- default value for contrast/saturation were changed to be
in line with available documentation for the chipset;
- Removed some bad coding at set_control;
- U/V Saturation now changes proportionally
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
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>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
* ../linux/drivers/media/video/saa7134/saa7134-video.c:
(video_do_ioctl), (radio_do_ioctl):
- Set tuner type in VIDIOC_G_TUNER.
Signed-off-by: Elad Lahav <elad_lahav@users.sourceforge.net>
|
|
V4L1 support.
- This patch will help obsoleting V4L1 API.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- Whitespace script improved.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- 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>
|
|
- Remove some #if 0 which doesn't have any sense
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
|
|
* cx88-video.c: (video_read):
* cx88.h:
- Fix a number of sparse warnings.
* videodev2.h:
- strip trailing whitespace.
Signed-off-by: Peter Hagervall <hager@cs.umu.se>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
|
|
- The Microtune 4049FM5 uses an IF frequency of 33.3 MHz for FM radio.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
* cx88-video.c: (cx8800_resume):
- removed trailing whitespace.
* Changelog:
- fixed some entries missing mchehab's login.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
* cx88-blackbird.c:
- fix mpeg packet size & count
- add VIDIOC_QUERYCAP ioctl for the mpeg stream
- return more information in struct v4l2_format
- fix default window height
* cx88-video.c:
- small cleanups
Signed-off-by: Catalin Climov <catalin@climov.com>
|
|
* cx88-video.c: (video_release):
* mt20xx.c: (microtune_init):
* saa7134-video.c: (video_release):
* tda8290.c: (standby), (tda8290_init):
* tda9887.c: (tda9887_set_tvnorm), (tda9887_configure),
(tda9887_command):
* tea5767.c: (set_radio_freq), (tea5767_standby),
(tea5767_tuner_init):
* tuner-core.c: (set_addr), (check_mode), (set_mode),
(tuner_command):
* tuner-simple.c: (default_tuner_init):
* tuner.h:
- New tuner standby API.
|
|
with "core".
|
|
|
|
to cx88_do_ioctl.
|
|
|
|
- Added some comments about DMA stuff.
- Removed obsolete code.
* tea5761.c:
- Removed an incorrect comment that cames from tea5767.c file.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- It is importand to write at first to MO_GP3_IO, see datasheet
on page 77: "2.3.3 GPIO Normal Mode". Importand is Bit 25 (GP3_MODE),
or it is already done in file "cx88-video.c" at
"static int video_mux(struct cx8800_dev *dev, unsigned int input)".
From: Torsten Seeboth <Torsten.Seeboth@t-online.de>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
- Removed remaining trailing spaces.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
* cx88-video.c:
- After changing channels, reconfigure audio parameters.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- Some debug structs moved to their own .c file and converted to static
- some // comments converted to #if 0
* cx88-mpeg.c:
- Small cleanup for thinks like 0<<14
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- Added code to eliminate #if 0 and #if 1 when submiting pathes
to new kernel.
Miscelaneous CodingStyle stuff.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
saa7134-cards.c
|
|
- Let Kconfig decide whether to include
frontend-specific code in saa7134-dvb.
* cx88-video.c:
- added missing contrast offset value, set to 0.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
* tuner-core.c:
- Added some comments about I2C working mode.
- Frequency initialized for radio and TV.
* cx88-video:
- It calls VIDIOC_G_FREQUENCY to get tuner freq from tuner.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- I2C cleanups. Now, all drivers uses the same basic structure.
* cx88-video.c:
- Duplicated code commented. Should be removed soon.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
* saa7134-cards.c, saa7134-core.c, saa7134-i2c.c:
* tuner-core.c, tuner.h:
Rename v4l2_tuner field in tun_addr structure. Cleanup
tuner private calls.
|
|
Now, 50% Hue means no offset, just like bt878 stuff.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- Improved support for multi tuners on multi boards.
*tuner-core.c:
- Pal M and PAL N added to tuner_fixup_std
* tuner-simple.c:
- Eliminated old tea code from tuner-simple.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
* cx88-video.c, cx88.h, tuner.h:
* CARDLIST.cx88:
- Fix DViCO Board names as per email from
DViCO Systems Software Engineer Jeff Lee:
"DTT7611 model is 3Gold-T ... Temic 4042 is the 3Gold-Q model."
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
- is not clear at V4L1 API if VIDIOCSTUNER can change to mono.
support for changing implemented anyway to allow radio st/mono
switch.
- Issue to solve: tea indicates stereo even when switched to mono.
signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
* cx88.h, msp3400.c, saa6752hs.c:
* tda9887.c, tuner-core.c, tvaudio.c, tveeprom.c:
- Remove unneeded config options. Now I2C_CLIENT_MULTI
and I2C_NORMAL_RANGE is checked on the fly.
|
|
error on tvtime like:
Tuner refuses to tell us the current frequency: Invalid argument
videoinput: Please file a bug report at http://tvtime.net/
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- radio range is now defined on tuner-core.c. Cleaning up.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
require nor uses normal_i2c_range. A new define (CONFIG_USE_I2C_RANGE) is
provided to provide compatibility. It is meant to be replaced by a kernel
version test after aplyed to mainstream. This patch corrects it.
High precision tunning on Radio is correclty supported. Some radio apps already
uses it. There's an auto-detection process to check tuner range.
Detailed info:
* Make.config, Makefile, tuner-core.c:
- CONFIG_TUNER_MULTI_I2C dropped from tuner-core.c and included on Make.config
- included CONFIG_USE_I2C_RANGE for kernels that requires normal_i2c_range struct
(only kernels after 2.6.12-rc6-mm1 doesn't require).
* bt832.c, msp3400.c, saa6752hs.c, tda7432.c, tda9875.c, tda9887.c, tuner-core.c,tvaudio.c,
tveeprom.c,
- I2C range detection corrected to new behavior of 2.6.12-rc6-mm1
* cx88-video.c, tea5767, tuner-core.c:
- V4L2_TUNER_CAP_LOW implemented according with V4L2 API for Radio.
- tea5767 debug improved.
* .bp/2.6/v4l-driver-doc
- typo corrected.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|