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: NPeter Meerwald <pmeerw@pmeerw.net> Reported-by: NStephan Kleisinger <stephan.kleisinger@gmail.com> Cc: <Stable@vger.kernel.org> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
Showing
想要评论请 注册 或 登录