]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
V4L/DVB (6801): tda18271: pass i2c gate configuration into tda18271_attach()
authorMichael Krufky <mkrufky@linuxtv.org>
Mon, 10 Dec 2007 01:23:30 +0000 (22:23 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:32 +0000 (19:03 -0200)
commite435f95ce6468f0240f050e14c9eac93e2fe7e71
tree574b8764e3206b37666bda01acc2b0f1a4d44dde
parent7206abbc2d19b6846b879fb266672b40da9961cb
V4L/DVB (6801): tda18271: pass i2c gate configuration into tda18271_attach()

If we pass TDA18271_GATE_DIGITAL into tda18271_attach(), it will always try to
use the digital demodulator's i2c gate.

If we pass TDA18271_GATE_ANALOG into tda18271_attach(), it will always try to
use the analog demodulator's i2c gate.

If we pass TDA18271_GATE_AUTO into tda18271_attach(), it will try to use the
analog demodulator's i2c gate when tuning in analog mode, and it will try to
use the digital demodulator's i2c gate when tuning in digital mode.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/tda18271-fe.c
drivers/media/dvb/frontends/tda18271.h
drivers/media/video/tda8290.c