linux/drivers/media/video
Hans Verkuil 27487d4471 V4L/DVB (3384): Separate tv & radio freqs, fix cb/freq transmit order for tuners that need this.
- Moved MSP_SET_MATRIX to v4l2-common.h
- Fix typos and integer overflows in tea5767.c
- Split old freq field into a tv_freq and a radio_freq. Prevents
  that a radio tuner is initialized with a tv frequency or vice versa.
- When switching to radio mode initialize the tuner with the last
  used radio frequency (this was already done for the TV mode).
  As a result of these changes the tuner module now remembers the
  last set radio and TV frequencies, which is what you would expect
  to happen.
- Move out of range frequencies to the closest valid frequency as per
  v4l2 API spec.
- Fix incorrect initial radio frequency (multiplier is 16000, not 16)
- Add boundary check for out of range frequencies.
- Use new flag to check if the order of the CB and freq. depends on
  the last set frequency. That is needed for some tuners or you can
  get static as a result. The flag is added for those tuners where I know
  that the datasheet indicates that this is necessary.
- For this new check use the last set div value, not the last frequency
  as radio frequencies are always much higher due to the 16000 multiplier.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-15 21:25:32 -02:00
..
cx88 V4L/DVB (3375): git dvb callbacks fix 2006-01-15 10:02:18 -02:00
cx25840 V4L/DVB (3377): make some code static 2006-01-15 09:03:21 -02:00
em28xx V4L/DVB (3380): Semaphore to mutex conversion on drivers/media 2006-01-15 09:03:49 -02:00
ovcamchip V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
saa7134 V4L/DVB (3380): Semaphore to mutex conversion on drivers/media 2006-01-15 09:03:49 -02:00
adv7170.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
adv7175.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
arv.c V4L/DVB (3354a): Remove old MODULE_PARM in media/video/ 2006-01-13 14:10:23 -02:00
bt819.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
bt832.c V4L/DVB (3355): removed uneeded init on structs like static int foo=0 2006-01-13 14:10:19 -02:00
bt832.h [PATCH] v4l: 800: whitespace cleanups 2005-11-09 07:56:20 -08:00
bt848.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt856.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
btcx-risc.c V4L/DVB (3355): removed uneeded init on structs like static int foo=0 2006-01-13 14:10:19 -02:00
btcx-risc.h [PATCH] v4l: common part Updates and tuner additions 2005-09-09 13:57:49 -07:00
bttv-cards.c V4L/DVB (3355): removed uneeded init on structs like static int foo=0 2006-01-13 14:10:19 -02:00
bttv-driver.c V4L/DVB (3354e): bttv semaphore to mutex conversion 2006-01-13 14:10:24 -02:00
bttv-gpio.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
bttv-i2c.c V4L/DVB (3355): removed uneeded init on structs like static int foo=0 2006-01-13 14:10:19 -02:00
bttv-if.c [PATCH] v4l: 800: whitespace cleanups 2005-11-09 07:56:20 -08:00
bttv-input.c V4L/DVB (3340): Add bttv card MagicTV (rebranded MachTV) 2006-01-11 19:40:09 -02:00
bttv-risc.c [PATCH] v4l: 801: whitespaces cleanups 2005-11-09 07:56:21 -08:00
bttv-vbi.c V4L/DVB (3178): bttv VBI fixes 2006-01-09 15:25:27 -02:00
bttv.h V4L/DVB (3340): Add bttv card MagicTV (rebranded MachTV) 2006-01-11 19:40:09 -02:00
bttvp.h V4L/DVB (3354e): bttv semaphore to mutex conversion 2006-01-13 14:10:24 -02:00
bw-qcam.c V4L (926_2): Moves compat32 functions from fs to v4l subsystem 2006-01-09 15:24:57 -02:00
bw-qcam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
c-qcam.c V4L (926_2): Moves compat32 functions from fs to v4l subsystem 2006-01-09 15:24:57 -02:00
compat_ioctl32.c V4L/DVB (3352): Some fixes to compat_ioctl32 2006-01-12 00:11:55 -02:00
cpia.c V4L (926_2): Moves compat32 functions from fs to v4l subsystem 2006-01-09 15:24:57 -02:00
cpia.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpia_pp.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
cpia_usb.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
cs53l32a.c V4L/DVB (3345): Fixes some bad global variables 2006-01-11 19:41:49 -02:00
cs8420.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dpc7146.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
hexium_gemini.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
hexium_orion.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
ibmmpeg2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
indycam.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
indycam.h VINO driver version 0.0.5. 2005-11-07 18:05:41 +00:00
ir-kbd-i2c.c V4L/DVB (3307): Some cleanups at I2C modules 2006-01-09 15:53:26 -02:00
Kconfig V4L/DVB (3344f): Stradis Kconfig url changed 2006-01-11 19:41:40 -02:00
Makefile V4L/DVB (3359): Redesign tuners struct for maximum flexibility 2006-01-13 14:10:25 -02:00
meye.c V4L (926_2): Moves compat32 functions from fs to v4l subsystem 2006-01-09 15:24:57 -02:00
meye.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
msp3400-driver.c V4L/DVB (3355): removed uneeded init on structs like static int foo=0 2006-01-13 14:10:19 -02:00
msp3400-kthreads.c V4L/DVB (3345): Fixes some bad global variables 2006-01-11 19:41:49 -02:00
msp3400.h V4L/DVB (3384): Separate tv & radio freqs, fix cb/freq transmit order for tuners that need this. 2006-01-15 21:25:32 -02:00
mt20xx.c V4L/DVB (3384): Separate tv & radio freqs, fix cb/freq transmit order for tuners that need this. 2006-01-15 21:25:32 -02:00
mxb.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
mxb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
planb.c V4L/DVB (3354a): Remove old MODULE_PARM in media/video/ 2006-01-13 14:10:23 -02:00
planb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pms.c V4L (926_2): Moves compat32 functions from fs to v4l subsystem 2006-01-09 15:24:57 -02:00
rds.h [PATCH] saa6588 __user annotations 2005-09-29 08:46:27 -07:00
saa711x.c V4L/DVB (3354a): Remove old MODULE_PARM in media/video/ 2006-01-13 14:10:23 -02:00
saa5246a.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
saa5246a.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa5249.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
saa6588.c V4L/DVB (3354a): Remove old MODULE_PARM in media/video/ 2006-01-13 14:10:23 -02:00
saa7110.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
saa7111.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
saa7114.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
saa7115.c V4L/DVB (3345): Fixes some bad global variables 2006-01-11 19:41:49 -02:00
saa7121.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7127.c V4L/DVB (3345): Fixes some bad global variables 2006-01-11 19:41:49 -02:00
saa7146.h V4L/DVB (3344c): Pci probing for stradis driver 2006-01-11 19:41:13 -02:00
saa7146reg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7185.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
saa7191.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
saa7191.h VINO driver version 0.0.5. 2005-11-07 18:05:41 +00:00
saa7196.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stradis.c V4L/DVB (3344e): Stradis Lindent 2006-01-11 19:41:32 -02:00
tda7432.c V4L/DVB (3345): Fixes some bad global variables 2006-01-11 19:41:49 -02:00
tda8290.c V4L/DVB (3384): Separate tv & radio freqs, fix cb/freq transmit order for tuners that need this. 2006-01-15 21:25:32 -02:00
tda9840.c Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 2006-01-06 15:25:08 -08:00
tda9840.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tda9875.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
tda9887.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
tea5767.c V4L/DVB (3384): Separate tv & radio freqs, fix cb/freq transmit order for tuners that need this. 2006-01-15 21:25:32 -02:00
tea6415c.c Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 2006-01-06 15:25:08 -08:00
tea6415c.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tea6420.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
tea6420.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tuner-3036.c V4L/DVB (3344b): don't ignore return from i2c_add_driver() for tuner-3036 2006-01-11 19:41:04 -02:00
tuner-core.c V4L/DVB (3384): Separate tv & radio freqs, fix cb/freq transmit order for tuners that need this. 2006-01-15 21:25:32 -02:00
tuner-simple.c V4L/DVB (3384): Separate tv & radio freqs, fix cb/freq transmit order for tuners that need this. 2006-01-15 21:25:32 -02:00
tuner-types.c V4L/DVB (3384): Separate tv & radio freqs, fix cb/freq transmit order for tuners that need this. 2006-01-15 21:25:32 -02:00
tvaudio.c V4L/DVB (3345): Fixes some bad global variables 2006-01-11 19:41:49 -02:00
tvaudio.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tveeprom.c V4L/DVB (3363): Add support for Samsung tuner TCPN 2121P30A 2006-01-13 14:10:25 -02:00
tvmixer.c V4L/DVB (3307): Some cleanups at I2C modules 2006-01-09 15:53:26 -02:00
tvp5150.c V4L/DVB (3377): make some code static 2006-01-15 09:03:21 -02:00
tvp5150_reg.h [PATCH] v4l: 673: initial code for texas instruments tvp5150a and tvp5150am1 2005-11-09 07:56:11 -08:00
v4l1-compat.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
v4l2-common.c V4L/DVB (3384): Separate tv & radio freqs, fix cb/freq transmit order for tuners that need this. 2006-01-15 21:25:32 -02:00
video-buf-dvb.c [PATCH] V4L/DVB: (3086c) Whitespaces cleanups part 4 2005-12-12 08:57:44 -08:00
video-buf.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
videocodec.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
videocodec.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
videodev.c V4L/DVB (3380): Semaphore to mutex conversion on drivers/media 2006-01-15 09:03:49 -02:00
vino.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
vino.h [PATCH] Indycam / VINO drivers 2005-09-07 16:58:01 -07:00
vpx3220.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
w9966.c V4L (926_2): Moves compat32 functions from fs to v4l subsystem 2006-01-09 15:24:57 -02:00
wm8775.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
zoran.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_card.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
zoran_card.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_device.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_device.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_driver.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
zoran_procfs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_procfs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36016.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
zr36016.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36050.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
zr36050.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36057.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36060.c V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc 2006-01-11 19:40:56 -02:00
zr36060.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120.c V4L (926_2): Moves compat32 functions from fs to v4l subsystem 2006-01-09 15:24:57 -02:00
zr36120.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120_i2c.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120_mem.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120_mem.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00