[alsa-devel] [PATCHv4 2/7] ASoC: TWL6030: Add twl6030 codec driver

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Feb 25 11:17:35 CET 2010


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.


More information about the Alsa-devel mailing list