26 Feb
2020
26 Feb
'20
6:36 p.m.
On Wed, Feb 26, 2020 at 09:55:47AM +0900, Kuninori Morimoto wrote:
If each component / rtd / dai have "done" flag or count, soc_pcm_open() can call soc_pcm_close() directly without thinking about "until", because each flag can handle/indicate it.
The good point is we can reduce duplicate implementation. And it can avoid future bug. Because today, we need to care both soc_pcm_close() and error handling in soc_pcm_open(), it is not good for me.
That goal definitely makes sense, if we can avoid problems like the ones here it seems like a useful change.