From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rene Herman Subject: Re: [PATCH] wss_lib: do not mess mixer settings during probe Date: Sun, 24 Aug 2008 20:36:56 +0200 Message-ID: <48B1AA48.7020403@keyaccess.nl> References: <20080824180804.b88effc0.krzysztof.h1@poczta.fm> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtpq1.tilbu1.nb.home.nl (smtpq1.tilbu1.nb.home.nl [213.51.146.200]) by alsa0.perex.cz (Postfix) with ESMTP id E5CF424375 for ; Sun, 24 Aug 2008 20:35:29 +0200 (CEST) In-Reply-To: <20080824180804.b88effc0.krzysztof.h1@poczta.fm> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Krzysztof Helt Cc: Takashi Iwai , Alsa-devel , Rene Herman List-Id: alsa-devel@alsa-project.org On 24-08-08 18:08, Krzysztof Helt wrote: > From: Krzysztof Helt > > Use the wss_dout function which does not mess > shadowed register values during chip probing. > Otherwise, user ends up with stupid mixer settings > after driver loading. > > Signed-off-by: Krzysztof Helt Acked-by: Rene Herman Must say that I only now notice that we're doing that init loop there. I believe it could be better to introduce an inline __snd_wss_out() with just the two outb()s and use that from snd_wss_out() and here directly. And with respect to the mb() ... if anywhere, should't that be between the two outb's really? Rene.