1
linux/drivers/media/video/saa7134
Mauro Carvalho Chehab c117d05cd4 V4L/DVB (7753): saa7134: fix tuner setup
Tuner setup were happening during i2c attach callback. This means that it would
happen on two conditions:

        1) if tuner module weren't load, it will happen at request_module("tuner");

        2) if tuner is not compiled as a module, or it is already loaded
           (for example, on setups with more than one tuner), it will happen
           when saa7134 registers I2C bus.

Due to that, if tuner were loaded, tuner setup will happen _before_ reading
the proper values at tuner eeprom. Since set_addr refuses to change for a tuner
that were previously defined (except if the tuner_addr is set), this were
making eeprom tuner detection useless.

This patch removes tuner type setup from saa7134-i2c, moving it to the proper
place, after taking eeprom into account.

Reviewed-by: Hermann Pitton <hermann-pitton@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-29 18:41:33 -03:00
..
Kconfig V4L/DVB (7441): kconfig fixes for tuner-simple 2008-04-24 14:07:55 -03:00
Makefile V4L/DVB (6623): remove saa7134-oss 2008-01-25 19:02:17 -02:00
saa6752hs.c V4L/DVB (6321): Remove obsolete VIDIOC_S/G_MPEGCOMP ioctls 2007-10-22 12:01:30 -02:00
saa7134-alsa.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb 2008-04-24 11:21:08 -07:00
saa7134-cards.c V4L/DVB (7753): saa7134: fix tuner setup 2008-04-29 18:41:33 -03:00
saa7134-core.c V4L/DVB (7394): saa7134: add number of devices check 2008-04-24 14:07:52 -03:00
saa7134-dvb.c V4L/DVB (7654): tda10086: make the xtal frequency a configuration option 2008-04-24 14:09:44 -03:00
saa7134-empress.c V4L/DVB (7526): media/video/saa7134 replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:59 -03:00
saa7134-i2c.c V4L/DVB (7753): saa7134: fix tuner setup 2008-04-29 18:41:33 -03:00
saa7134-input.c V4L/DVB (7677): saa7134: Add/fix Beholder entries 2008-04-24 14:09:46 -03:00
saa7134-reg.h V4L/DVB (7390): saa7134: clear audio DSP interface after access error 2008-04-24 14:07:52 -03:00
saa7134-ts.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
saa7134-tvaudio.c V4L/DVB (7390): saa7134: clear audio DSP interface after access error 2008-04-24 14:07:52 -03:00
saa7134-vbi.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
saa7134-video.c V4L/DVB (7393): tda827x: fixed support of tuners with LNA 2008-04-24 14:07:52 -03:00
saa7134.h V4L/DVB (7507): saa7134: add analog support for Avermedia A700 cards 2008-04-24 14:07:58 -03:00