diff options
| author | James Calligeros <jcalligeros99@gmail.com> | 2026-10-25 13:22:18 +1000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-11-02 20:00:32 +0000 |
| commit | f65f866dacbb10a37e4fae4076627c767afd3cbb (patch) | |
| tree | 5426716133aa460fd73228a613231f461f419c24 /include/linux | |
| parent | 82fa7bfab6b961a03d6575348334e0ec15fdc712 (diff) | |
ASoC: tas2770: Fix error detection in tas2770_set_dai_tdm_idle
snd_soc_component_update_bits returns 1 on a successful update, and
we were returning from tas2770_set_dai_tdm_idle early on any nonzero
return code. Change this so that only negative return codes are
treated as errors.
Fixes: af176d0787d2 ("ASoC: tas2770: expose SDOUT bus keeper via set_tdm_idle")
Cc: stable@vger.kernel.org
Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
Link: https://patch.msgid.link/20261025-tas2770-idle-fix-v2-1-6c8096a87f44@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
