ASoC: simple-card-utils: remove strict limitation of bit/frame master
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 25 May 2017 01:51:31 +0000 (01:51 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 26 May 2017 11:40:53 +0000 (12:40 +0100)
commit155b8f3aa633dbce887cded6b6b9399a3c62683e
treebcde89d364fb4713b42d164b53512d8ba3b7c946
parent73b17f1a65c881fcf97109d77056006da2d40152
ASoC: simple-card-utils: remove strict limitation of bit/frame master

Current asoc_simple_card_parse_daifmt is keeping backward compatibility
for bitmaster/framemaster which didn't use phandle.
The keep compatibility, it is checking prefix length, but it is
too strict. let's loosen it. Otherwise, OF-graph base sound card
which doesn't have prefix can't detect daifmt.

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