iio: light: tcs3414: Fix bug preventing to set integration time
commit 33361e56 upstream. the millisecond values in tcs3414_times should be checked against val2, not val, which is always zero. Signed-off-by:Peter Meerwald <pmeerw@pmeerw.net> Reported-by:
Stephan Kleisinger <stephan.kleisinger@gmail.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org> Signed-off-by:
Kamal Mostafa <kamal@canonical.com>
Showing
Please register or sign in to comment