diff options
author | 2013-10-11 00:06:34 -0700 | |
---|---|---|
committer | 2013-10-11 19:45:49 +0100 | |
commit | 740ad6c328823f066efb8b907576a54ef92aca69 (patch) | |
tree | 4d8f50c950701477003753e28e95d63ba2a08a5f | |
parent | ASoC: rsnd: use regmap instead of original register mapping method (diff) | |
download | wireguard-linux-740ad6c328823f066efb8b907576a54ef92aca69.tar.xz wireguard-linux-740ad6c328823f066efb8b907576a54ef92aca69.zip |
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 '')
-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)) /* |