summaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners/tda18271-maps.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@kernellabs.com>2009-09-28 03:13:49 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 18:40:24 -0200
commitc0faeee5a3b70c894a27fa81a0d98a3ab223aff0 (patch)
tree7cf6b96b1328854a2b1faebf91b5119e77a7b251 /drivers/media/common/tuners/tda18271-maps.c
parent3a6b49fef6cd18ce3de9de3db12bfbeacf39f9e9 (diff)
V4L/DVB (13112): tda18271: display some state information in debug output
Display i2c adapter id, address and master / slave role in debug output. Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/tuners/tda18271-maps.c')
-rw-r--r--drivers/media/common/tuners/tda18271-maps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/common/tuners/tda18271-maps.c b/drivers/media/common/tuners/tda18271-maps.c
index e21fdeff3dd..e7f84c705da 100644
--- a/drivers/media/common/tuners/tda18271-maps.c
+++ b/drivers/media/common/tuners/tda18271-maps.c
@@ -978,6 +978,7 @@ static struct tda18271_cid_target_map tda18271_cid_target[] = {
int tda18271_lookup_cid_target(struct dvb_frontend *fe,
u32 *freq, u8 *cid_target, u16 *count_limit)
{
+ struct tda18271_priv *priv = fe->tuner_priv;
int i = 0;
while ((tda18271_cid_target[i].rfmax * 1000) < *freq) {