From 86cbd42b8fdc143e3a06e8b1dfe35d6df8779d7e Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 23 Apr 2020 14:55:38 +0200 Subject: fsl_dsp.c: improve test for dsp existence The Audio DSP is only available on some i.MX8 and i.MX8X family members. The current test for DSP existence prints an error message if not run on a SoC with SCFW, e.g. on a i.MX 8M Mini. Drop printing a message at all. Completes commit b39e78680b3d8 ("fsl_dsp.c: test for dsp existence before installing driver") Signed-off-by: Max Krummenacher --- sound/soc/fsl/fsl_dsp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/fsl/fsl_dsp.c b/sound/soc/fsl/fsl_dsp.c index 4bd55059b2cb..39a5b13c6cb6 100644 --- a/sound/soc/fsl/fsl_dsp.c +++ b/sound/soc/fsl/fsl_dsp.c @@ -83,8 +83,7 @@ static int check_dsp_is_available(void) ret = sc_ipc_getMuID(&mu_id); if (ret) { - pr_err("sc_ipc_getMuID() can't obtain mu id SCI! %d\n", - ret); + /* We're not running on a iMX8 or iMX8X, so there is no DSP */ return -EINVAL; } -- cgit v1.2.3