diff options
author | Shengjiu Wang <[email protected]> | 2023-09-15 14:02:11 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-09-15 13:16:21 +0100 |
commit | b19a5733de255cabba5feecabf6e900638b582d1 (patch) | |
tree | e66cb563d4a8a49f7d10bbf07173ed6fc52eb6d9 /rust/helpers.c | |
parent | c04efbfd76d23157e64e6d6147518c187ab4233a (diff) |
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 <[email protected]>
Reviewed-by: Daniel Baluta <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions