]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
V4L/DVB (9406): Really silly bug, setting bandwidth into frequency
authorMarko Schluessler <marco@lordzodiac.de>
Tue, 25 Sep 2007 23:13:31 +0000 (20:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:17 +0000 (17:53 -0200)
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>
drivers/media/dvb/ttpci/budget-ci.c

index 3f086855c2fb32272f9491a8a8f4ceb32e97ba2b..fdcfbda5e4d87546954d80e98c470ae2aac597a8 100644 (file)
@@ -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;
 }