diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-26 11:05:58 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-26 11:05:58 -0300 |
commit | db4d37c1958dfc961b95a7440bac15b8cb53693c (patch) | |
tree | 7740ba74786f4f0ec740f892fba2d3bf56eeb98c /linux/drivers/media/video/ivtv/ivtv-udma.h | |
parent | 2b1478b9681672a4fe06ce2c4eab4fbd735b41b9 (diff) | |
download | mediapointer-dvb-s2-db4d37c1958dfc961b95a7440bac15b8cb53693c.tar.gz mediapointer-dvb-s2-db4d37c1958dfc961b95a7440bac15b8cb53693c.tar.bz2 |
saa7134: fix tuner setup
From: Mauro Carvalho Chehab <mchehab@infradead.org>
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.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/ivtv/ivtv-udma.h')
0 files changed, 0 insertions, 0 deletions