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