Commit 92ccab67 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[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.
parent 015510a7
...@@ -1041,6 +1041,7 @@ static int tuner_attach(struct i2c_adapter *adap, int addr, int kind) ...@@ -1041,6 +1041,7 @@ static int tuner_attach(struct i2c_adapter *adap, int addr, int kind)
i2c_attach_client(client); i2c_attach_client(client);
if (type < TUNERS) { if (type < TUNERS) {
t->type = type;
printk("tuner: type forced to %d (%s) [insmod]\n", printk("tuner: type forced to %d (%s) [insmod]\n",
t->type,tuners[t->type].name); t->type,tuners[t->type].name);
set_type(client,type); set_type(client,type);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment