]> git.baikalelectronics.ru Git - kernel.git/commit
iio: light: opt3001: Fixed timeout error when 0 lux
authorJiri Valek - 2N <valek@2n.cz>
Mon, 20 Sep 2021 12:53:48 +0000 (14:53 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 3 Oct 2021 15:43:25 +0000 (16:43 +0100)
commitbd4ba35ddf5aa053fab8facb3965a3b20cb16039
tree852b77557d9c97140810a0be1f4ff19d4627f7e3
parent785fdefc7281e11417de1626122d3078c067fd03
iio: light: opt3001: Fixed timeout error when 0 lux

Reading from sensor returned timeout error under
zero light conditions.

Signed-off-by: Jiri Valek - 2N <valek@2n.cz>
Fixes: 544709c9ad0e ("iio: light: opt3001: enable operation w/o IRQ")
Link: https://lore.kernel.org/r/20210920125351.6569-1-valek@2n.cz
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/opt3001.c