ASoC: audio-graph-scu-card: use asoc_simple_card_of_parse_tdm()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 14 Jun 2017 00:35:47 +0000 (00:35 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 14 Jun 2017 10:00:19 +0000 (11:00 +0100)
commit616c3b15f596e1f1e6c2537a1ad3492052eecba6
tree2d74c6090477071a87a9952659c0f01a7b10fe49
parentc98907d59594827535b492309a145ac9c758fb4c
ASoC: audio-graph-scu-card: use asoc_simple_card_of_parse_tdm()

Current simple card drivers are using asoc_simple_dai's tx_slot_mask,
rx_slot_mask, slots, slot_width directly to parse TDM.
Encapsulation is one of simple card util's purpose.
Let's use asoc_simple_card_of_parse_tdm for it.

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