summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorMatti Vaittinen <mazziesaccount@gmail.com>2026-09-02 11:48:46 +0300
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-09-06 22:33:15 +0100
commit8065a6c02f629187131f3136bedb26f9080e3cca (patch)
tree162d9e5158e29accc159f17c9f8aa7f7f96c7617 /tools/lib/python/kdoc
parent2cdc7ef31827db4fbc6283750420639569e1f0e9 (diff)
downloadlinux-next-8065a6c02f629187131f3136bedb26f9080e3cca.tar.gz
linux-next-8065a6c02f629187131f3136bedb26f9080e3cca.zip
iio: light: rohm-bu27034: Fix infinite delay on error
When reading an integration-time fails, the code will use error code to compute the sleep time. Fix this by using the smallest integration time as a default if reading fails. Fixes: e52afbd61039 ("iio: light: ROHM BU27034 Ambient Light Sensor") Suggested-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions