Skip to content
Unverified Commit eb8b5af7 authored by Ricard Wanderlof's avatar Ricard Wanderlof Committed by Mark Brown
Browse files

ASoC: tlv320adc3xxx: Fix buggy return value



snd_soc_component_update_bits returns 1 if the operation was
successful and some bits were changed, so we cannot
return this value directly as it can be interpreted
as an error. Instead, do some minor mangling to avoid
inadvertently returning an error.

Signed-off-by: default avatarRicard Wanderlof <ricardw@axis.com>
Link: https://lore.kernel.org/r/alpine.DEB.2.21.2202241021420.20760@lnxricardw1.se.axis.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c07ac3ee
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