aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/ttpci/budget-ci.c
diff options
context:
space:
mode:
authorMarko Schluessler2007-09-25 20:13:31 -0300
committerMauro Carvalho Chehab2008-12-29 17:53:17 -0200
commit421b2970d24f7571039b29e6726bce1608578ac4 (patch)
tree9e6fb6360d5e8b4fc6181df9617616720b15a2bd /drivers/media/dvb/ttpci/budget-ci.c
parente99d00cb176dde1d0c140b06492b6a729367e745 (diff)
V4L/DVB (9406): Really silly bug, setting bandwidth into frequency
probably should stop fiddling with code late nights. :-( Thanks to Marco for pointing it out and fixing it. Signed-off-by: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ttpci/budget-ci.c')
-rw-r--r--drivers/media/dvb/ttpci/budget-ci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/ttpci/budget-ci.c b/drivers/media/dvb/ttpci/budget-ci.c
index 3f086855c2fb..fdcfbda5e4d8 100644
--- a/drivers/media/dvb/ttpci/budget-ci.c
+++ b/drivers/media/dvb/ttpci/budget-ci.c
@@ -1633,7 +1633,7 @@ static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth)
struct tuner_state t_state;
int err = 0;
- t_state.frequency = bandwidth;
+ t_state.bandwidth = bandwidth;
if (&fe->ops)
frontend_ops = &fe->ops;
if (&frontend_ops->tuner_ops)
@@ -1644,7 +1644,7 @@ static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth)
return err;
}
}
- printk("%s: Bandwidth=%d\n", __func__, t_state.frequency);
+ printk("%s: Bandwidth=%d\n", __func__, t_state.bandwidth);
return 0;
}