ASoC: simple-card-utils: add asoc_simple_card_convert_fixup()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 15 Jun 2017 00:24:09 +0000 (00:24 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 15 Jun 2017 17:14:43 +0000 (18:14 +0100)
commit13bb1cc0ad205b2aeeb8d2ea5c790a396135283d
tree711d88cb5bb5ff5b80651a5c88748537ae3eac93
parent616c3b15f596e1f1e6c2537a1ad3492052eecba6
ASoC: simple-card-utils: add asoc_simple_card_convert_fixup()

Current simple/audio scu card drivers are supporting same
convert-rate/convert-channels on DT, but doesn't use same function
for it.
Encapsulation is one of simple card util's purpose.
Let's add asoc_simple_card_parse_convert/asoc_simple_card_convert_fixup

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/simple-card-utils.c