ASoC: simple-card: un-implemented set_fmt is not error
commite244bb9bc1883547d44642c99f483c2e57e2a940
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 18 Oct 2013 05:46:49 +0000 (17 22:46 -0700)
committerMark Brown <broonie@linaro.org>
Sun, 20 Oct 2013 16:28:02 +0000 (20 17:28 +0100)
tree178e93a70067eda9ec68a3d9ba751c448fba8ef0
parent61e6cfa80de5760bbe406f4e815b7739205754d2
ASoC: simple-card: un-implemented set_fmt is not error

Current simple-card returns error if DAI doesn't
support .set_fmt callback.
But the error is -ENOTSUPP (= not supported),
and it is not error.
This patch avoids such case

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