[alsa-devel] [RFC] ASoC: Allow mulitple usage of codec and cpu dai

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Feb 25 11:03:26 CET 2010


On Thu, Feb 25, 2010 at 01:26:51PM +0900, Jassi Brar wrote:

>  	/* startup the audio subsystem */
> -	if (cpu_dai->ops->startup) {
> +	if (cpu_dai->active == 0 && cpu_dai->ops->startup) {

I thought I'd been fairly clear last time that the drivers need to have
an option to do stuff on startup().  As I said then a separate callback
which is called only on the transitions into and out of active would be
fine.


More information about the Alsa-devel mailing list