ASoC: audio-graph: indicate rebind issue
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 3 Sep 2019 08:16:05 +0000 (17:16 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 3 Sep 2019 11:36:24 +0000 (12:36 +0100)
commit157ab71286e6dd71676052275ab5dfa3955c5cdb
tree9da77369231a7a16a71b8145ffac01d65061fb44
parent39c66b6ef6f3aaf5bac61555db70ffb2864161c6
ASoC: audio-graph: indicate rebind issue

ALSA SoC try to rebind Sound Card if Card/CPU/Codec/Platform
were unbinded and re-binded again.
But, Audio Graph Card might can't rebind again if user do for example

unbind CPU or Codec driver
bind   CPU or Codec driver

Because Audio Graph Card is still pointing old/unbinded
CPU or Codec driver's DAI name at dlc->dai_name.

To avoid this issue, it needs to alloc memory and keep DAI name
even though if CPU or Codec driver was unbinded.
Or, always do unbind/bind at Sound Card.

For now, this patch indicates this issue as FIXME.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87sgpdu75m.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/audio-graph-card.c