diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-10-11 00:06:34 -0700 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-11 19:45:49 +0100 |
commit | 740ad6c328823f066efb8b907576a54ef92aca69 (patch) | |
tree | 4d8f50c950701477003753e28e95d63ba2a08a5f /sound/soc/sh | |
parent | 55e5b6fd5af04b6d8b0ac6635edf49476ff298ba (diff) |
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>
Diffstat (limited to 'sound/soc/sh')
-rw-r--r-- | sound/soc/sh/rcar/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c index fc83f0f2aead..28c24fcf8bc7 100644 --- a/sound/soc/sh/rcar/core.c +++ b/sound/soc/sh/rcar/core.c @@ -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)) /* |