Commit d2a0e2b6 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] gemtek radio fix

(Included in 2.4)
From:  Gerd Knorr <kraxel@bytesex.org>

  This makes the gemtek radio device start muted.
parent 278ac599
...@@ -269,14 +269,14 @@ static int __init gemtek_init(void) ...@@ -269,14 +269,14 @@ static int __init gemtek_init(void)
printk(KERN_INFO "GemTek Radio Card driver.\n"); printk(KERN_INFO "GemTek Radio Card driver.\n");
spin_lock_init(&lock); spin_lock_init(&lock);
/* mute card - prevents noisy bootups */
outb(0x10, io);
udelay(5);
gemtek_unit.muted = 1;
/* this is _maybe_ unnecessary */ /* this is _maybe_ unnecessary */
outb(0x01, io); outb(0x01, io);
/* mute card - prevents noisy bootups */
gemtek_unit.muted = 0;
gemtek_mute(&gemtek_unit);
return 0; return 0;
} }
......
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