public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [trivial patch] gemtek radio fix
@ 2002-10-29 17:13 Gerd Knorr
  0 siblings, 0 replies; only message in thread
From: Gerd Knorr @ 2002-10-29 17:13 UTC (permalink / raw)
  To: Linus Torvalds, Kernel List

  Hi,

This patch makes the radio gemtek device start muted.

  Gerd

--- linux-2.5.44/drivers/media/radio/radio-gemtek.c	Wed Oct 23 18:53:13 2002
+++ linux/drivers/media/radio/radio-gemtek.c	Wed Oct 23 18:54:50 2002
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-29 16:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-29 17:13 [trivial patch] gemtek radio fix Gerd Knorr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox