Skip to content
Unverified Commit 3cea33b6 authored by Dan Carpenter's avatar Dan Carpenter Committed by Mark Brown
Browse files

ASoC: max98390: Fix error codes in max98390_dsm_init()



These error paths return success but they should return -EINVAL.

Fixes: 97ed3e50 ("ASoC: max98390: Fix potential crash during param fw loading")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/X9B0uz4svyNTqeMb@mwanda


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1bea2256
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment