]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: simple-card: un-implemented set_fmt is not error
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 18 Oct 2013 05:46:49 +0000 (22:46 -0700)
committerMark Brown <broonie@linaro.org>
Sun, 20 Oct 2013 16:28:02 +0000 (17:28 +0100)
commitc084911c6df9ad5fe85d07ffb83cce0b47f9501b
tree178e93a70067eda9ec68a3d9ba751c448fba8ef0
parentd689bf2c50128598081e9c1b6b583c3510674c62
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