]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: SOF: imx: Remove the use of dev_err_probe()
authorXichao Zhao <zhao.xichao@vivo.com>
Tue, 19 Aug 2025 11:26:54 +0000 (19:26 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 24 Aug 2025 21:41:10 +0000 (22:41 +0100)
commitf840737d1746398c2993be34bfdc80bdc19ecae2
tree47c19ce25c905c515fb7fff19aa30512074f8824
parentbc017f28b1c6c3d44c3631f8f6d152b7e703e990
ASoC: SOF: imx: Remove the use of dev_err_probe()

The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
Therefore, remove the useless call to dev_err_probe(), and just
return the value instead.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Reviewed-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Message-ID: <20250819112654.588527-1-zhao.xichao@vivo.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/imx/imx-common.c
sound/soc/sof/imx/imx8.c