summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorHaotian Zhang <vulab@iscas.ac.cn>2026-01-09 01:51:33 +0800
committerLee Jones <lee@kernel.org>2026-02-04 09:21:05 +0000
commitf42033b5ce8c79c5db645916c9a72ee3e10cecfa (patch)
tree9c7ec5db554a470af193efb381683d59c71b50d9 /rust/alloc/collections/git@git.tavy.me:linux.git
parentec924cd7b78ee2d46da306e4e95faf4b155dc94b (diff)
leds: qcom-lpg: Check the return value of regmap_bulk_write()
The lpg_lut_store() function currently ignores the return value of regmap_bulk_write() and always returns 0. This can cause hardware write failures to go undetected, leading the caller to believe LUT programming succeeded when it may have failed. Check the return value of regmap_bulk_write() in lpg_lut_store and return the error to the caller on failure. Fixes: 24e2d05d1b68 ("leds: Add driver for Qualcomm LPG") Signed-off-by: Haotian Zhang <vulab@iscas.ac.cn> Link: https://patch.msgid.link/20260108175133.638-1-vulab@iscas.ac.cn Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions