[PATCH] [34/50] bttv: fix s_tuner for radio

From: Andi Kleen
Date: Thu Jul 28 2011 - 19:48:59 EST


2.6.35-longterm review patch. If anyone has any objections, please let me know.

------------------
From: Hans Verkuil <hans.verkuil@xxxxxxxxx>

[ upstream commit a024c1a6b274e11596d124619e43c25560f64c01 ]

Fix typo: g_tuner should have been s_tuner.

Tested with a bttv card.

Cc: stable@xxxxxxxxxx
Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx>
Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>

Index: linux-2.6.35.y/drivers/media/video/bt8xx/bttv-driver.c
===================================================================
--- linux-2.6.35.y.orig/drivers/media/video/bt8xx/bttv-driver.c
+++ linux-2.6.35.y/drivers/media/video/bt8xx/bttv-driver.c
@@ -3525,7 +3525,7 @@ static int radio_s_tuner(struct file *fi
if (0 != t->index)
return -EINVAL;

- bttv_call_all(btv, tuner, g_tuner, t);
+ bttv_call_all(btv, tuner, s_tuner, t);
return 0;
}

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/