aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-10-03 20:41:12 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-10 18:50:30 +0100
commit3a29b84cf7fbf912a6ab1b9c886746f02b74ea25 (patch)
tree9a31a12aaa4cd1c9bcf9294ecbbde2e2cef8d188 /rust/helpers
parentccf9af8b0dadd0aecc24503ef289cbc178208418 (diff)
iio: hid-sensors: Fix an error handling path in _hid_sensor_set_report_latency()
If hid_sensor_set_report_latency() fails, the error code should be returned instead of a value likely to be interpreted as 'success'. Fixes: 138bc7969c24 ("iio: hid-sensor-hub: Implement batch mode") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Link: https://patch.msgid.link/c50640665f091a04086e5092cf50f73f2055107a.1727980825.git.christophe.jaillet@wanadoo.fr Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions