]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: mediatek: Fix error code in probe
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 15 Jun 2022 08:19:44 +0000 (11:19 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jun 2022 15:21:48 +0000 (16:21 +0100)
commitb57e09635281ca0c0fd4ef46847edabfbb82e662
tree9881ed9a2811357a30329967be2ca6b035b83b5e
parent7b49dc65461afe571b2cc8f8652da8e36c9d2883
ASoC: SOF: mediatek: Fix error code in probe

This should return PTR_ERR() instead of IS_ERR().

Fixes: 3ce81370f0e9 ("ASoC: SOF: mediatek: Add mt8186 ipc support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/YqmWIK8sTj578OJP@kili
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/mediatek/mt8186/mt8186.c