[alsa-devel] [PATCH 2/2 v2] ASoC: fsi: use snd_soc_register_component() instead of snd_soc_register_dais()

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Mar 13 01:38:08 CET 2013


Hi Mark

> > +static const struct snd_soc_component_driver fsi_soc_component = {
> > +};
> > +
> 
> It'd be good to at least have a name here.

Easy.

But, current snd_soc_platform / snd_soc_codec have "name",
but these *driver* doesn't have it.

It will have double name...
Is it OK ? 

struct snd_soc_component_driver {
	const char *name;
};

struct snd_soc_component {
	const char *name;
	...
	const struct snd_soc_component_driver *driver;
};

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list