]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: nau8821: check regmap_raw_read/regmap_raw_write for failure
authorVitaliy Shevtsov <v.shevtsov@maxima.ru>
Fri, 18 Oct 2024 11:07:41 +0000 (16:07 +0500)
committerMark Brown <broonie@kernel.org>
Fri, 18 Oct 2024 17:44:28 +0000 (18:44 +0100)
commit1b9971a4e01b80afbf061ad7cdf84ac6fbbbde8d
treeaf6c7662a9afe0737f181e771dd8718b9310d2f1
parentb2385de2ae11bdd34855276e0a254109469227eb
ASoC: nau8821: check regmap_raw_read/regmap_raw_write for failure

The return values from both regmap_raw_read() and regmap_raw_write() are not
checked despite they can fail. Propagate possible errors to caller.

Found by Linux Verification Center (linuxtesting.org) with Svace.

Signed-off-by: Vitaliy Shevtsov <v.shevtsov@maxima.ru>
Link: https://patch.msgid.link/20241018110743.18786-1-v.shevtsov@maxima.ru
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/nau8821.c