ASoC: simple-card: use asoc_simple_card_of_parse_tdm()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 14 Jun 2017 00:34:53 +0000 (00:34 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 14 Jun 2017 10:00:10 +0000 (11:00 +0100)
commitb93d2cf8c0facb593d6f008af30ae0fcd1d49ede
treed52e6ff13093f2fdfcb0c8c7f42166f56d6e6169
parente68ba207444354ddf295de2e7fbcc97c06cccc8b
ASoC: simple-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/simple-card.c