iio: light: tcs3414: Fix bug preventing to set integration time
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: Peter Meerwald <a2c19d57d338d8f9d8de092166164455662a8cbe@pmeerw.net>
Reported-by: Stephan Kleisinger <d2dfba8ccee86e189282f5415a0114305163215f@gmail.com>
Cc: <d96e5b2dd07c1733b2b013bd82922c22baade37d@vger.kernel.org>
Signed-off-by: Jonathan Cameron <09f65b71b7655725897b2fd41a09a0cefe2e1ace@kernel.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs