ASoC: simple-card-utils: separate asoc_simple_card_parse_dai()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 20 Mar 2019 04:56:36 +0000 (13:56 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 21 Mar 2019 14:52:37 +0000 (14:52 +0000)
commit8f7f298a333761a528e103cda3b42f3a416ad1ee
treee5b79636bc0a7e7aa859e6791512aa1103db5ba2
parent65a5056b21202eff7f54243e587183f4bb6ed352
ASoC: simple-card-utils: separate asoc_simple_card_parse_dai()

The difference between simple-card / audio-graph are just using
OF graph style, or not. In other words, other things should be same.
This means, simple-card/audio-graph common functions should be
implemented at simple-card-utils, and its own functions should be
implemented at each files.

Current simple-card / audio-graph are using
asoc_simple_card_parse_dai() which is different implementation.
But, these are implemanted at simple-card-utils.
It should be implemanted at each files.
This patch separate these into each files.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/simple_card_utils.h
sound/soc/generic/audio-graph-card.c
sound/soc/generic/simple-card-utils.c
sound/soc/generic/simple-card.c