linux_old1/drivers/media/video
Wojciech Migda 27dea3eb66 V4L/DVB (7294): : tuner and radio addresses are missing for the PixelView PlayTV card
The PixelView PlayTV card definition structure was missing initialization of
the tuner_addr and radio_addr fields. As a result it was impossible to have the
tuner initialized using parameters specified while loading the bttv.ko module.

This regression became visible after the v4l rearrangements introduced
somewhere around 2.6.15 kernel version.

The root cause for the tuner initialization failure is located in the
attach_inform function in the bttv-i2c.c file.

There at the very beginning the addr variable holding the tuner device address
is initialized with the value taken from the bttv_tvcards array.

For the PixelView PlayTV card the tuner address field (and the radio address as
well) was uninitialized, and thus equal 0. Later in that function execution of
the TUNER_SET_TYPE_ADDR tuner command is guarded with check for the tuner
address either equal ADDR_UNSET, or client->addr.

Since both are non-zero (the latter in case of the card owned by me at the
runtime is equal 0x61) the TUNER_SET_TYPE_ADDR command is not executed, and
consequently in the tuner_attach function in the tuner-core.c file call to
i2c_attach_client does not result in assigning the tuner type variable with the
requested value.

Providing initialization of the tuner_addr and radio_addr with ADDR_UNSET
values as it is already done for other tv cards defined in bttv-cards.c ensures
that the tuner initialization is done correctly, just as it used to be in the
2.6.14 kernel.

Signed-off-by: Wojciech Migda <wojtek.golf@interia.pl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-24 14:07:46 -03:00
..
bt8xx V4L/DVB (7294): : tuner and radio addresses are missing for the PixelView PlayTV card 2008-04-24 14:07:46 -03:00
cpia2 V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
cx88 V4L/DVB (7289): cx88: enable IR receiver and real time clock on FusionHDTV7 Gold 2008-04-24 14:07:46 -03:00
cx23885 V4L/DVB (7237): Convert videobuf-dma-sg to generic DMA API 2008-04-24 14:07:44 -03:00
cx25840 V4L/DVB (7241): cx25840: code cleanup 2008-04-24 14:07:44 -03:00
em28xx V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
et61x251 V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
ivtv V4L/DVB (7245): ivtv: start timer for each DMA transfer 2008-04-24 14:07:44 -03:00
ovcamchip V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
pvrusb2 V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
pwc V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
saa7134 V4L/DVB (7262): Add support for xc3028-based boards 2008-04-24 14:07:45 -03:00
sn9c102 V4L/DVB (7220): drivers/media/video/sn9c102/sn9c102_core.c Fix Unlikely(x) == y 2008-04-24 14:07:43 -03:00
usbvideo V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
usbvision V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
zc0301 V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
Kconfig V4L/DVB (7218): Fix breakage in mt9m001 and mt9v022 driver if "CONFIG_GENERIC_GPIO is not set" 2008-04-24 14:07:43 -03:00
Makefile V4L/DVB (7174): Add support for the MT9V022 camera 2008-04-24 14:07:43 -03:00
adv7170.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
adv7175.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
arv.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
bt819.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
bt856.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
bt866.c V4L/DVB (6819): i2c: fix drivers/media/video/bt866.c 2007-12-13 17:58:05 -02:00
btcx-risc.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
btcx-risc.h
bw-qcam.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
bw-qcam.h
c-qcam.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
cafe_ccic-regs.h V4L/DVB (5690): Cafe_ccic: Properly power down the sensor 2007-05-22 16:16:27 -03:00
cafe_ccic.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
compat_ioctl32.c V4L/DVB (5989): V4L: Add additional ioctls to compat_ioctl32 2007-10-09 22:04:45 -03:00
cpia.c V4L/DVB (6320): v4l core: remove the unused .hardware V4L1 field 2007-10-22 12:01:24 -02:00
cpia.h
cpia_pp.c
cpia_usb.c
cs53l32a.c V4L/DVB (6739): cs53l32a: codingstyle cleanups 2008-01-25 19:03:16 -02:00
cs5345.c V4L/DVB (6869): cs5345: new i2c driver 2008-01-25 19:04:08 -02:00
cs8420.h
cx2341x.c V4L/DVB (6861): cx2341x: command argument should be u32 instead of int 2008-01-25 19:04:04 -02:00
dabfirmware.h V4L/DVB (7248): dabfirmware.h add missing license 2008-04-24 14:07:44 -03:00
dabusb.c V4L/DVB (7274): dabusb: fix shadowed variable warning in dabusb.c 2008-04-24 14:07:46 -03:00
dabusb.h
dpc7146.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
font.h
hexium_gemini.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
hexium_orion.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
ibmmpeg2.h
indycam.c drivers/media/: Spelling fixes 2008-02-03 17:18:59 +02:00
indycam.h
ir-kbd-i2c.c V4L/DVB (7286): limit stack usage of ir-kbd-i2c.c 2008-04-24 14:07:46 -03:00
ks0127.c i2c: Use the driver model reference counting 2008-01-27 18:14:48 +01:00
ks0127.h
m52790.c V4L/DVB (6862): ivtv: really remove i2c legacy support from drivers that no longer need it 2008-01-25 19:04:05 -02:00
meye.c V4L/DVB (7204): remove V4L2_CID_SHARPNESS from meye.h and report private control as DISABLED 2008-04-24 14:07:43 -03:00
meye.h Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
msp3400-driver.c V4L/DVB (6866): msp3400: CodingStyle cleanups 2008-01-25 19:04:06 -02:00
msp3400-driver.h
msp3400-kthreads.c V4L/DVB (6866): msp3400: CodingStyle cleanups 2008-01-25 19:04:06 -02:00
mt9m001.c V4L/DVB (7249): Fix advertised pixel formats in mt9m001 and mt9v022 2008-04-24 14:07:44 -03:00
mt9v022.c V4L/DVB (7249): Fix advertised pixel formats in mt9m001 and mt9v022 2008-04-24 14:07:44 -03:00
mt20xx.c V4L/DVB (7135): remove PREFIX from users of tuner_foo printk macros 2008-04-24 13:42:26 -03:00
mt20xx.h V4L/DVB (6134): tuner: alter build to produce separate modules 2007-10-09 22:07:43 -03:00
mxb.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
mxb.h
ov511.c drivers: Remove unnecessary inclusions of asm/semaphore.h 2008-04-18 22:16:32 -04:00
ov511.h
ov7670.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
planb.c V4L/DVB (6407): planb: fix obvious interrupt handling bugs 2007-11-04 21:41:20 -02:00
planb.h
pms.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
pxa_camera.c V4L/DVB (7250): Clean up pxa-camera driver, remove non-functional and never tested pm-support 2008-04-24 14:07:44 -03:00
saa711x.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
saa711x_regs.h
saa5246a.c V4L/DVB (6684): Complement va_start() with va_end() + style fixes 2007-12-11 18:08:16 -02:00
saa5246a.h
saa5249.c V4L/DVB (6684): Complement va_start() with va_end() + style fixes 2007-12-11 18:08:16 -02:00
saa6588.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
saa7110.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
saa7111.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
saa7114.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
saa7115.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
saa7121.h
saa7127.c V4L/DVB (6867): saa7127: CodingStyle cleanups 2008-01-25 19:04:06 -02:00
saa7146.h
saa7146reg.h
saa7185.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
saa7191.c V4L/DVB (6148): Fix a warning at saa7191_probe 2007-09-14 13:13:42 -03:00
saa7191.h
saa7196.h
se401.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
se401.h
soc_camera.c V4L/DVB (7276): soc-camera: deactivate cameras when not used 2008-04-24 14:07:46 -03:00
stk-sensor.c V4L/DVB (7104): stk-sensor.c: make 2 functions static 2008-02-18 11:15:08 -03:00
stk-webcam.c V4L/DVB (7238): make stk_camera_{suspend,resume}() static 2008-04-24 14:07:44 -03:00
stk-webcam.h V4L/DVB (7104): stk-sensor.c: make 2 functions static 2008-02-18 11:15:08 -03:00
stradis.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
stv680.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
stv680.h
tcm825x.c V4L/DVB (7086): driver: tcm825x - fix logical typo error 2008-02-18 11:14:57 -03:00
tcm825x.h V4L/DVB (6220): TCM825x: Add support for vidioc_int_g_ifparm call, small cleanups 2007-10-09 22:14:40 -03:00
tda7432.c V4L/DVB (6419): V4L2 port of tda7432 from V4L1 api 2008-01-25 19:01:00 -02:00
tda8290.c V4L/DVB (7135): remove PREFIX from users of tuner_foo printk macros 2008-04-24 13:42:26 -03:00
tda8290.h V4L/DVB (6908): tda8290: add the option not to probe for tuners passed into tda829x_config 2008-01-25 19:04:20 -02:00
tda9840.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
tda9840.h
tda9875.c V4L/DVB (6420): V4L2 conversion for tda9875 from V4L1 API 2008-01-25 19:01:00 -02:00
tda9887.c V4L/DVB (7135): remove PREFIX from users of tuner_foo printk macros 2008-04-24 13:42:26 -03:00
tda9887.h V4L/DVB (6842): tda9887: remove dependency on struct tuner 2008-01-25 19:03:55 -02:00
tea5761.c V4L/DVB (7135): remove PREFIX from users of tuner_foo printk macros 2008-04-24 13:42:26 -03:00
tea5761.h V4L/DVB (6134): tuner: alter build to produce separate modules 2007-10-09 22:07:43 -03:00
tea5767.c V4L/DVB (7135): remove PREFIX from users of tuner_foo printk macros 2008-04-24 13:42:26 -03:00
tea5767.h V4L/DVB (6385): Adds the capability of configuring tea5767 support 2008-01-25 19:00:54 -02:00
tea6415c.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
tea6415c.h
tea6420.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
tea6420.h
tlv320aic23b.c V4L/DVB (6740): tlv320aic23b: codingstyle cleanups 2008-01-25 19:03:17 -02:00
tuner-3036.c
tuner-core.c V4L/DVB (7128): tuner: properly handle failed calls to simple_tuner_attach 2008-04-24 13:42:25 -03:00
tuner-i2c.h V4L/DVB (7184): make hybrid_tuner_request_state tolerant of devices without i2c adapters 2008-04-24 14:07:43 -03:00
tuner-simple.c V4L/DVB (7235): tuner-simple: fix a buffer overflow 2008-04-24 14:07:44 -03:00
tuner-simple.h V4L/DVB (7127): tuner: remove dependency of tuner-core on tuner-types 2008-04-24 13:42:24 -03:00
tuner-types.c V4L/DVB (7130): tuner: remove emacs c-basic-offset override block 2008-04-24 13:42:25 -03:00
tuner-xc2028-types.h V4L/DVB (6676): Improve s-code support 2008-01-25 19:02:58 -02:00
tuner-xc2028.c V4L/DVB (7260): tuner-xc3028: Don't check return code for clock reset 2008-04-24 14:07:45 -03:00
tuner-xc2028.h V4L/DVB (6893): tuner-xc2028: fix xc2028_attach function 2008-01-25 19:04:14 -02:00
tvaudio.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
tveeprom.c V4L/DVB (7240): tveeprom: remove obsolete i2c driver code 2008-04-24 14:07:44 -03:00
tvp5150.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
tvp5150_reg.h
upd64031a.c V4L/DVB (6864): upd64031a: CodingStyle cleanup 2008-01-25 19:04:05 -02:00
upd64083.c V4L/DVB (6863): upd64083: CodingStyle cleanups 2008-01-25 19:04:05 -02:00
v4l1-compat.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
v4l2-common.c V4L/DVB (7133): Fix Kconfig dependencies 2008-02-18 11:14:53 -03:00
v4l2-int-device.c V4L/DVB (7485): v4l2-int-device.c: add MODULE_LICENSE 2008-04-01 19:35:47 -03:00
videobuf-core.c V4L/DVB (7281): v4l: Deadlock in videobuf-core for DQBUF waiting on QBUF 2008-04-24 14:07:46 -03:00
videobuf-dma-sg.c V4L/DVB (7283): videobuf-dma-sg: Remove unused variable 2008-04-24 14:07:46 -03:00
videobuf-dvb.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
videobuf-vmalloc.c V4L/DVB (7237): Convert videobuf-dma-sg to generic DMA API 2008-04-24 14:07:44 -03:00
videocodec.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
videocodec.h
videodev.c V4L/DVB (7133): Fix Kconfig dependencies 2008-02-18 11:14:53 -03:00
vino.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
vino.h
vivi.c V4L/DVB (7022): Fix timestamp presentation on vivi driver 2008-01-25 19:04:56 -02:00
vp27smpx.c V4L/DVB (6865): vp27smpx: CodingStyle cleanup 2008-01-25 19:04:06 -02:00
vpx3220.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
w9966.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
w9968cf.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
w9968cf.h
w9968cf_decoder.h
w9968cf_vpp.h
wm8739.c V4L/DVB (6862): ivtv: really remove i2c legacy support from drivers that no longer need it 2008-01-25 19:04:05 -02:00
wm8775.c V4L/DVB (6737): wm8775: codingstyle cleanup 2008-01-25 19:03:16 -02:00
zoran.h V4L/DVB (7219): zoran: Fix namespace conflicts with Zoran 'GPIO_MAX' enum 2008-02-18 12:18:28 -03:00
zoran_card.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
zoran_card.h V4L/DVB (5884): zr36067: clean up debug function 2007-10-09 22:02:57 -03:00
zoran_device.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
zoran_device.h
zoran_driver.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
zoran_procfs.c V4L/DVB (5884): zr36067: clean up debug function 2007-10-09 22:02:57 -03:00
zoran_procfs.h
zr364xx.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
zr36016.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
zr36016.h
zr36050.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
zr36050.h
zr36057.h
zr36060.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
zr36060.h