ASoC: simple-card: add asoc_simple_card_parse_daifmt()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 28 Oct 2014 01:04:52 +0000 (18:04 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 28 Oct 2014 16:35:51 +0000 (16:35 +0000)
commit1b5721b24306c2daf786f3b31f678b40ab9b2ce7
treee121a26aa29b180df93e3d3ae81b2ffe6ad8cf3d
parent84d4cbe9a60a1fdd35b4dd69951f31c518b467d8
ASoC: simple-card: add asoc_simple_card_parse_daifmt()

Current daifmt setting method in simple-card driver is
placed to many places, and using un-readable/confusable method.
This patch adds new asoc_simple_card_parse_daifmt()
and tidyup code.

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