From: Kuninori Morimoto Date: Fri, 11 Oct 2013 07:06:34 +0000 (-0700) Subject: ASoC: rcar: fixup rsnd_platform_call() return value X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=740ad6c328823f066efb8b907576a54ef92aca69;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ASoC: rcar: fixup rsnd_platform_call() return value Un-implemented platform callback is not error. Signed-off-by: Kuninori Morimoto Signed-off-by: Mark Brown --- 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)) /*