[PATCH] ASoC: imx-audmix: Fix return error with devm_clk_get()

Daniel Baluta daniel.baluta at gmail.com
Fri Sep 15 18:38:54 AEST 2023


On Fri, Sep 15, 2023 at 9:38 AM Shengjiu Wang <shengjiu.wang at nxp.com> wrote:
>
> 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 at nxp.com>

Reviewed-by: Daniel Baluta <daniel.baluta at nxp.com>


More information about the Linuxppc-dev mailing list