ASoC: rcar: fixup rsnd_platform_call() return value

Un-implemented platform callback is not error.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
Kuninori Morimoto 2013-10-11 00:06:34 -07:00 committed by Mark Brown
parent 55e5b6fd5a
commit 740ad6c328
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@
* rsnd_platform functions
*/
#define rsnd_platform_call(priv, dai, func, param...) \
(!(priv->info->func) ? -ENODEV : \
(!(priv->info->func) ? 0 : \
priv->info->func(param))
/*