Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 29 Oct 2002 11:53:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 29 Oct 2002 11:53:45 -0500 Received: from hirsch.in-berlin.de ([192.109.42.6]:53150 "EHLO hirsch.in-berlin.de") by vger.kernel.org with ESMTP id ; Tue, 29 Oct 2002 11:53:43 -0500 X-Envelope-From: kraxel@bytesex.org Date: Tue, 29 Oct 2002 18:13:21 +0100 From: Gerd Knorr To: Linus Torvalds , Kernel List Subject: [trivial patch] gemtek radio fix Message-ID: <20021029171321.GA23636@bytesex.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 982 Lines: 37 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 - 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/