diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-04-23 14:55:38 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-04-28 09:16:52 +0200 |
commit | 86cbd42b8fdc143e3a06e8b1dfe35d6df8779d7e (patch) | |
tree | 8a1a1a75711c3e4a04958c6f3e52cab386f66259 | |
parent | 6e7be599c44baca18f02993c6b6ddf11c660a105 (diff) |
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 <max.krummenacher@toradex.com>
-rw-r--r-- | sound/soc/fsl/fsl_dsp.c | 3 |
1 files changed, 1 insertions, 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; } |