summaryrefslogtreecommitdiff
path: root/sound/soc/sof/mediatek/mt8186/mt8186.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-11 08:32:58 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-11 08:32:58 +0200
commit14facbc1871ae15404666747b5319c08e04b875a (patch)
tree785c59cb86dd8cf7aab8449b6cb9362cbd9e8911 /sound/soc/sof/mediatek/mt8186/mt8186.c
parentf5c97da8037b18d1256a58459fa96ed68e50fb41 (diff)
parent32346491ddf24599decca06190ebca03ff9de7f8 (diff)
Merge 5.19-rc6 into char-misc-next
We need the misc driver fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/soc/sof/mediatek/mt8186/mt8186.c')
-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;
}