[patch] gemtek radio fix

Gerd Knorr (kraxel@bytesex.org)
Thu, 7 Nov 2002 11:16:23 +0100


Hi,

This patch makes the gemtek radio device start muted.

please apply,

Gerd

--- linux-2.5.46/drivers/media/radio/radio-gemtek.c 2002-11-07 09:18:21.000000000 +0100
+++ linux/drivers/media/radio/radio-gemtek.c 2002-11-07 09:22:16.000000000 +0100
@@ -269,14 +269,14 @@
printk(KERN_INFO "GemTek Radio Card driver.\n");

spin_lock_init(&lock);
- /* mute card - prevents noisy bootups */
- outb(0x10, io);
- udelay(5);
- gemtek_unit.muted = 1;

/* this is _maybe_ unnecessary */
outb(0x01, io);

+ /* mute card - prevents noisy bootups */
+ gemtek_unit.muted = 0;
+ gemtek_mute(&gemtek_unit);
+
return 0;
}

-- 
You can't please everybody.  And usually if you _try_ to please
everybody, the end result is one big mess.
				-- Linus Torvalds, 2002-04-20
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/