Skip to content
Commit 0f6e6872 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman
Browse files

ASoC: cs35l33: fix an error code in probe()

[ Upstream commit 833bc4cf ]

This error path returns zero (success) but it should return -EINVAL.

Fixes: 3333cb71

 ("ASoC: cs35l33: Initial commit of the cs35l33 CODEC driver.")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/YKXuyGEzhPT35R3G@mwanda


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 1d0fb540
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment