Skip to content
Commit 40f34b0c authored by Peter Meerwald's avatar Peter Meerwald Committed by Jonathan Cameron
Browse files

iio: light: tcs3414: Fix bug preventing to set integration time



the millisecond values in tcs3414_times should be checked against
val2, not val, which is always zero.

Signed-off-by: default avatarPeter Meerwald <pmeerw@pmeerw.net>
Reported-by: default avatarStephan Kleisinger <stephan.kleisinger@gmail.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent c13c9da6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment