]> asedeno.scripts.mit.edu Git - linux.git/commit
media: saa7134: keep demod i2c gate closed on Medion 7134
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>
Tue, 20 Aug 2019 22:05:54 +0000 (19:05 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 26 Aug 2019 13:45:19 +0000 (10:45 -0300)
commitc1849372a68145b277c917fb5db8fb3f0a50e11e
treea396bfd65ad89f40ae89d970593260398099737e
parentb5654c9425157706b86bdddb10b3532d09ff72e2
media: saa7134: keep demod i2c gate closed on Medion 7134

Medion 7134 has two i2c eeproms on the same i2c bus sharing the same bus
addresses: the first one for SAA7134 chip config and the second one behind
TDA10046 DVB-T demod chip i2c gate storing its firmware.
The TV tuner on this board is not behind this i2c gate.

Due to the bus conflict described above, the card PCI SVID / SSID sometimes
gets garbled after a reboot, which makes it necessary to specify the card
model manually as an insmod option in order for it to be detected reliably.
To avoid this, let's just leave the gate permanently closed so the eeprom
chips won't clash.

The demod firmware load is done with its i2c gate closed anyway so it is
not affected by this change.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/saa7134/saa7134-dvb.c