diff options
author | Ricard Wanderlof <[email protected]> | 2022-02-24 10:29:05 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-02-24 13:52:34 +0000 |
commit | eb8b5af702ca0b9adbccec1ddd944a282c57aa66 (patch) | |
tree | d26783a8d8142e80df8b9fea0b699b4f7d8b9cd7 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | c07ac3ee76e5e5506bca9c03fbbb15e40ab28430 (diff) |
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: Ricard Wanderlof <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions