summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Masney <masneyb@onstation.org>2016-11-10 04:25:38 -0500
committerJonathan Cameron <jic23@kernel.org>2016-11-12 16:22:53 +0000
commit2167769aed61782b7b966b9dfaac8e357fa5c516 (patch)
tree733a77c1537b8a8cc2b2901c68286625714f7d6d /include
parentc908fb76b29b3eb527eb7feef260bba7057680f5 (diff)
downloadlinux-2167769aed61782b7b966b9dfaac8e357fa5c516.tar.bz2
staging: iio: tsl2583: fix issue with changes to calibscale and int_time not being set on the chip
When updating the in_illuminance_calibscale and in_illuminance_integration_time sysfs attributes, these values were not actually written to the chip. The chip would continue to use the old parameters. Extracted out tsl2583_set_als_gain() and tsl2583_set_als_time() functions that are now called when these sysfs attributes are updated. The chip initialization also calls these these new functions. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions