Kuninori Morimoto b56be800f1
ASoC: soc-pcm: call snd_soc_dai_startup()/shutdown() once
Current soc_pcm_open() calls snd_soc_dai_startup() under loop.
Thus, it needs to care about started/not-yet-started codec DAI.

But, if soc-dai.c is handling it, soc-pcm.c don't need to care
about it.
This patch adds started flag to soc-dai.h, and simplify soc-pcm.c.
This is one of prepare for cleanup soc-pcm-open()

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/875zgfcey5.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-02-11 15:42:03 +00:00
..
2020-01-28 16:26:57 -08:00
2020-01-21 17:07:08 +00:00
2020-01-21 17:07:08 +00:00
2020-01-21 17:07:08 +00:00
2019-11-07 13:52:17 +01:00
2020-01-28 16:26:57 -08:00
2020-01-21 17:07:08 +00:00
2020-01-16 14:14:26 +01:00