summaryrefslogtreecommitdiff
path: root/scripts/git.orderFile
diff options
context:
space:
mode:
authorGiorgi Tchankvetadze <giorgi@tchankvetadze.com>2026-07-31 17:20:48 +0400
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-08-05 00:03:28 +0100
commit8756acd30919a3e9f547ea4a1d4b7f7895f4d340 (patch)
tree6ce3f66c968e82a297053e16585674797caa8bde /scripts/git.orderFile
parentd240b0b8a1ceeacc618890de971d9f4e40661c27 (diff)
downloadlinux-8756acd30919a3e9f547ea4a1d4b7f7895f4d340.tar.gz
linux-8756acd30919a3e9f547ea4a1d4b7f7895f4d340.zip
iio: light: cm32181: return zero after writing calibscale
The write_raw callback is documented to return 0 on success or a negative error code. However, the IIO_CHAN_INFO_CALIBSCALE case returns 'val' (the user-supplied value) instead of 0. Fix it by returning 0 on success, matching the behavior of other calibscale implementations in the subsystem. Fixes: 971672c0b3cc ("iio: add Capella CM32181 ambient light sensor driver.") Signed-off-by: Giorgi Tchankvetadze <giorgi@tchankvetadze.com> Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions