Re: [alsa-devel] [PATCH RFC] ASoC: dai playback_active and capture_active may be greater than 1

2018-04-30 Thread Charles Keepax
On Thu, Apr 19, 2018 at 04:06:12PM +0200, Jerome Brunet wrote: > At the moment playback_active and capture_active are using only 1 bit so > the maximum active count is 1. > > However, snd_soc_runtime_activate() may be called several time on the > same dai. This happens when a dai is part of severa

[PATCH RFC] ASoC: dai playback_active and capture_active may be greater than 1

2018-04-19 Thread Jerome Brunet
At the moment playback_active and capture_active are using only 1 bit so the maximum active count is 1. However, snd_soc_runtime_activate() may be called several time on the same dai. This happens when a dai is part of several dai_links. It is often the case for "snd-soc-dummy-dai". This is a pro