ASoC: imx-audmix: Fix return error with devm_clk_get()
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 15 Sep 2023 06:02:11 +0000 (14:02 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 15 Sep 2023 12:16:21 +0000 (13:16 +0100)
commitb19a5733de255cabba5feecabf6e900638b582d1
treee66cb563d4a8a49f7d10bbf07173ed6fc52eb6d9
parentc04efbfd76d23157e64e6d6147518c187ab4233a
ASoC: imx-audmix: Fix return error with devm_clk_get()

The devm_clk_get() can return -EPROBE_DEFER error,
modify the error code to be -EINVAL is not correct, which
cause the -EPROBE_DEFER error is not correctly handled.

This patch is to fix the return error code.

Fixes: b86ef5367761 ("ASoC: fsl: Add Audio Mixer machine driver")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/1694757731-18308-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-audmix.c