patch-2.4.20 linux-2.4.20/drivers/media/radio/radio-gemtek.c

Next file: linux-2.4.20/drivers/media/video/Makefile
Previous file: linux-2.4.20/drivers/media/radio/Config.in
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/media/radio/radio-gemtek.c linux-2.4.20/drivers/media/radio/radio-gemtek.c
@@ -281,14 +281,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;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)