]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
bttv: fix s_tuner for radio
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 12 Jun 2011 10:02:43 +0000 (07:02 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Aug 2011 17:35:39 +0000 (10:35 -0700)
commit a024c1a6b274e11596d124619e43c25560f64c01 upstream.

Fix typo: g_tuner should have been s_tuner.

Tested with a bttv card.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/video/bt8xx/bttv-driver.c

index ae08b077fd04b017fe1966041d0f3cd851a4577e..41594ea940c462b914955e14b3dce1d631c1ce09 100644 (file)
@@ -3526,7 +3526,7 @@ static int radio_s_tuner(struct file *file, void *priv,
        if (0 != t->index)
                return -EINVAL;
 
-       bttv_call_all(btv, tuner, g_tuner, t);
+       bttv_call_all(btv, tuner, s_tuner, t);
        return 0;
 }