summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/mediatek
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-06-22 13:14:20 +0200
committerMark Brown <broonie@kernel.org>2022-06-22 13:14:20 +0200
commit644ed467c773ae7649cb54c9709aabc6f2984850 (patch)
tree5c4b6670569b70852ed940b590e0e83d32d7c031 /sound/soc/sof/mediatek
parentASoC: core: Add new SOC_DOUBLE_SX_TLV macro (diff)
parentASoC: rt711-sdca: fix kernel NULL pointer dereference when IO error (diff)
downloadlinux-644ed467c773ae7649cb54c9709aabc6f2984850.tar.xz
linux-644ed467c773ae7649cb54c9709aabc6f2984850.zip
ASoC: Merge fixes
Needed for new development.
Diffstat (limited to 'sound/soc/sof/mediatek')
-rw-r--r--sound/soc/sof/mediatek/mt8186/mt8186.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/mediatek/mt8186/mt8186.c b/sound/soc/sof/mediatek/mt8186/mt8186.c
index 3333a0634e29..e006532caf2f 100644
--- a/sound/soc/sof/mediatek/mt8186/mt8186.c
+++ b/sound/soc/sof/mediatek/mt8186/mt8186.c
@@ -392,7 +392,7 @@ static int mt8186_dsp_probe(struct snd_sof_dev *sdev)
PLATFORM_DEVID_NONE,
pdev, sizeof(*pdev));
if (IS_ERR(priv->ipc_dev)) {
- ret = IS_ERR(priv->ipc_dev);
+ ret = PTR_ERR(priv->ipc_dev);
dev_err(sdev->dev, "failed to create mtk-adsp-ipc device\n");
goto err_adsp_off;
}