summaryrefslogtreecommitdiff
path: root/linux/sound
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-26 08:55:09 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-26 08:55:09 -0300
commit2611123d7ac352a37d2caed87c1dbb65222b5156 (patch)
treed83151044015a21bde065dc339472e1cbf9f4d7f /linux/sound
parent1736ef37a2866a5feb7102b4ac3597fffbe5d872 (diff)
downloadmediapointer-dvb-s2-2611123d7ac352a37d2caed87c1dbb65222b5156.tar.gz
mediapointer-dvb-s2-2611123d7ac352a37d2caed87c1dbb65222b5156.tar.bz2
cx88: 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 cx88 registes 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 tuner-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/sound')
0 files changed, 0 insertions, 0 deletions