The IIO_LIGHT channel was not marked as being a processed_val despite
clearly being in lux.
The IIO_INTENSITY channel reads were dependent on channel and that isn't
specified for either adc (as they now use modifiers).  Hence use the
modifier instead.
Reported-by: Jon Brenner <jbrenner@taosinc.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 {
        struct tsl2563_chip *chip = iio_priv(indio_dev);
 
-       if (chan->channel == 0)
+       if (chan->channel == IIO_MOD_LIGHT_BOTH)
                chip->calib0 = calib_from_sysfs(val);
        else
                chip->calib1 = calib_from_sysfs(val);
        {
                .type = IIO_LIGHT,
                .indexed = 1,
+               .processed_val = 1,
                .channel = 0,
        }, {
                .type = IIO_INTENSITY,