]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] gemtek radio fix
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Dec 2002 13:55:02 +0000 (05:55 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 5 Dec 2002 13:55:02 +0000 (05:55 -0800)
(Included in 2.4)
From:  Gerd Knorr <kraxel@bytesex.org>

  This makes the gemtek radio device start muted.

drivers/media/radio/radio-gemtek.c

index 7a57b7cecb792a6b39a72497093131b2470a4ce3..4cbf746d471a0cfb2b7ac793bebb47a95ba8fa5e 100644 (file)
@@ -269,14 +269,14 @@ static int __init gemtek_init(void)
        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;
 }