summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ivtv/ivtv-irq.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-26 11:05:58 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-26 11:05:58 -0300
commitdb4d37c1958dfc961b95a7440bac15b8cb53693c (patch)
tree7740ba74786f4f0ec740f892fba2d3bf56eeb98c /linux/drivers/media/video/ivtv/ivtv-irq.c
parent2b1478b9681672a4fe06ce2c4eab4fbd735b41b9 (diff)
downloadmediapointer-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-irq.c')
0 files changed, 0 insertions, 0 deletions