Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-02-17 03:32:13 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2004-02-17 03:32:13 -0800
commit92ccab67be413797a96ce05a542bdc024c4dd0cd (patch)
treecd8b5b35b1841fcda0b0bf671958ddf7cedf9b20
parent015510a78955f0ba9977d661aae81c602bffa7b9 (diff)
[PATCH] Tuner bugfix
From: Neal Stephenson <neal@bakerst.org> In 2.6.2, I noticed that my modprobe.conf line for tuner "options tuner type=2" no longer worked. It even failed with insmod "insmod tuner.ko type=2". dmesg reported vmunix: tuner: chip found @ 0xc0 vmunix: tuner: type set to 19 (Temic PAL* auto (4006 FN5)) vmunix: tuner: type forced to 19 (Temic PAL* auto (4006 FN5)) [insmod] I noticed that the a line had been removed from 2.6.1 and when it is added everything works again.
-rw-r--r--drivers/media/video/tuner.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/tuner.c b/drivers/media/video/tuner.c
index 7f905304dc17..3814c8393f0c 100644
--- a/drivers/media/video/tuner.c
+++ b/drivers/media/video/tuner.c
@@ -1041,6 +1041,7 @@ static int tuner_attach(struct i2c_adapter *adap, int addr, int kind)
i2c_attach_client(client);
if (type < TUNERS) {
+ t->type = type;
printk("tuner: type forced to %d (%s) [insmod]\n",
t->type,tuners[t->type].name);
set_type(client,type);