[alsa-devel] [PATCH] cs4236: detect chip in one pass
Krzysztof Helt
krzysztof.h1 at poczta.fm
Tue Nov 3 20:30:25 CET 2009
On Tue, 03 Nov 2009 07:05:43 +0100
Takashi Iwai <tiwai at suse.de> wrote:
> At Mon, 2 Nov 2009 22:13:06 +0100,
> Krzysztof Helt wrote:
> >
> > These lines now inside if (CS4236B) clause. If one removes this condition,
> > the CS4236B cannot be fully initialized and the CS4236 controls do not work
> > (some of them require control port access).
>
> Hm? I mean to have code like
>
> if (!(chip->hardware & WSS_HW_CS4236B_MASK)) {
> snd_printd("chip is not CS4236+, hardware=0x%x\n",
> chip->hardware);
> *rchip = chip;
> return 0;
> }
>
I see. It is only for formatting purpose. I'll change.
Regards,
Krzysztof
-----------------------------------------------------------------------------
Dzwonki na telefon!
Pobierz >> http://link.interia.pl/f2411
More information about the Alsa-devel
mailing list