Re: [PATCH] cs4236: detect chip in one pass

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 03 Nov 2009 07:05:43 +0100
Takashi Iwai <tiwai@xxxxxxx> 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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux