> [...] > - 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.