Skip to content
Commit 5e648976 authored by Derek Basehore's avatar Derek Basehore Committed by Jonathan Cameron
Browse files

iio: isl29018: Fix uninitialized value



The lux_uscale value is not initialized at probe. The value will be
uninitialized unless a value is written to it through the iio channel interface.
This fixes that.

Signed-off-by: default avatarDerek Basehore <dbasehore@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/65998


Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent c9190956
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment