Re: [PATCHv4 2/7] ASoC: TWL6030: Add twl6030 codec driver

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

 



On Wed, Feb 24, 2010 at 05:57:25PM -0600, Olaya, Margarita wrote:

> > A switch statement would be nicer here.

> You mean something like this?

> 	switch (reg) {
> 	case TWL6030_REG_ASICID:
> 	case TWL6030_REG_ASICREV:
> 	case TWL6030_REG_STATUS:
> 		continue;
> 	default:
> 	break:
> 	}

Yes.
_______________________________________________
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