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:
parent
55e5b6fd5a
commit
740ad6c328
|
@ -103,7 +103,7 @@
|
||||||
* rsnd_platform functions
|
* rsnd_platform functions
|
||||||
*/
|
*/
|
||||||
#define rsnd_platform_call(priv, dai, func, param...) \
|
#define rsnd_platform_call(priv, dai, func, param...) \
|
||||||
(!(priv->info->func) ? -ENODEV : \
|
(!(priv->info->func) ? 0 : \
|
||||||
priv->info->func(param))
|
priv->info->func(param))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue