Hi,
Why the cpu_dai->active and codec_dai->active are not used to check if the corresponding shutdown or startup callbacks should be called or not?
This could be useful for DAIs that handle capture and playback streams by avoiding:
- perform 2 cpu_dai or codec_dai startup when opening both streams (playback and Capture) - close a cpu_dai or codec_dai for a stream (example playback) while the 2nd stream (playback) is still running
Thanks,
Selma.
--------------------------------------------------------------------- Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France Registration Number: 302 456 199 R.C.S. NANTERRE Capital: 4,572,000 Euros
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.