[alsa-devel] [PATCH] ASoC: uda134x: Use core for applying symmetry constraitns

Lars-Peter Clausen lars at metafoo.de
Mon Feb 17 10:10:45 CET 2014

 > [...]
> -	if (substream == uda134x->slave_substream) {
> +	if (dai->active) {

Meh, this is obviously broken since dai->active gets incremented when the 
device is opened, so this condition is always true. The best is probably to 
check if dai->rate != 0.

More information about the Alsa-devel mailing list