[rulkc] [PATCH v1 0/2] Fix snd_soc_component_update_bits return handling

Ilias Izmaylov ikizmaylov at salutedevices.com
Tue Jan 20 19:11:56 MSK 2026


This patchset fixes the way that snd_soc_component_update_bits
function's return values are handled by codecs ntp8918 and ntp8835.

Currently the return value "0" is considered erroneous when in fact it
isn't and what would correctly indicate an error is a negative return
value.

Ilias Izmaylov (2):
  ASoC: codecs: ntp8918: fix snd_soc_component_update_bits handling
  ASoC: codecs: ntp8835: fix snd_soc_component_update_bits handling

 sound/soc/codecs/ntp8835.c | 17 ++++++++++++-----
 sound/soc/codecs/ntp8918.c | 17 ++++++++++++-----
 2 files changed, 24 insertions(+), 10 deletions(-)

-- 
2.47.3




More information about the rulkc mailing list