ASoC: rcar: fixup rsnd_platform_call() return value
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 11 Oct 2013 07:06:34 +0000 (00:06 -0700)
committerMark Brown <broonie@linaro.org>
Fri, 11 Oct 2013 18:45:49 +0000 (19:45 +0100)
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>
sound/soc/sh/rcar/core.c

index fc83f0f..28c24fc 100644 (file)
  *     rsnd_platform functions
  */
 #define rsnd_platform_call(priv, dai, func, param...)  \
-       (!(priv->info->func) ? -ENODEV :                \
+       (!(priv->info->func) ? 0 :              \
         priv->info->func(param))
 
 /*