diff --git a/sound/soc/tegra-alt/tegra210_adsp_alt.c b/sound/soc/tegra-alt/tegra210_adsp_alt.c index 5ad56139..bfb64eb7 100644 --- a/sound/soc/tegra-alt/tegra210_adsp_alt.c +++ b/sound/soc/tegra-alt/tegra210_adsp_alt.c @@ -568,7 +568,7 @@ static int tegra210_adsp_app_init(struct tegra210_adsp *adsp, } app->info = nvadsp_app_init(app->desc->handle, NULL); - if (!app->info) { + if (IS_ERR_OR_NULL(app->info)) { dev_err(adsp->dev, "Failed to init app %s(%s).", app->desc->name, app->desc->fw_name); return -ENODEV;