All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Thierry Vignaud <tvignaud@mandrakesoft.com>
Cc: Clemens Ladisch <clemens@ladisch.de>, alsa-devel@lists.sourceforge.net
Subject: Re: [PATCH] AD1985 mixer settings
Date: Mon, 25 Aug 2003 13:05:20 +0200	[thread overview]
Message-ID: <s5hn0dy80b3.wl@alsa2.suse.de> (raw)
In-Reply-To: <m2n0e0dn4c.fsf@vador.mandrakesoft.com>

At Sun, 24 Aug 2003 00:29:07 +0200,
Thierry Vignaud wrote:
> 
> Clemens Ladisch <clemens@ladisch.de> writes:
> 
> > Index: alsa-kernel/pci/ac97/ac97_patch.c
> > ===================================================================
> > RCS file: /cvsroot/alsa/alsa-kernel/pci/ac97/ac97_patch.c,v
> > retrieving revision 1.18
> > diff -u -r1.18 ac97_patch.c
> > --- alsa-kernel/pci/ac97/ac97_patch.c	30 Jul 2003 10:54:03 -0000	1.18
> > +++ alsa-kernel/pci/ac97/ac97_patch.c	20 Aug 2003 06:59:16 -0000
> > @@ -768,7 +768,8 @@
> >  	misc = snd_ac97_read(ac97, AC97_AD_MISC);
> >  	/* switch front/surround line-out/hp-out */
> >  	/* center/LFE, surround in High-Z mode */
> > +	/* ADI compatibility mode */
> > -	snd_ac97_write_cache(ac97, AC97_AD_MISC, misc | 0x1c28);
> > +	snd_ac97_write_cache(ac97, AC97_AD_MISC, misc | 0x5c20);
> >  	return 0;
> >  }
> 
> wouldn't a BIT_FEATURE_X & BIT_FEATURE_Y be more readable than raw
> constants ?

yeah, of course :)
i'll try to fix them now.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0

  reply	other threads:[~2003-08-25 11:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-20  7:26 [PATCH] AD1985 mixer settings Clemens Ladisch
2003-08-23 22:29 ` Thierry Vignaud
2003-08-25 11:05   ` Takashi Iwai [this message]
2003-08-25 11:04 ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hn0dy80b3.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=clemens@ladisch.de \
    --cc=tvignaud@mandrakesoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.