summaryrefslogtreecommitdiffstats
path: root/drivers/iio/industrialio-core.c
diff options
context:
space:
mode:
authorBrian Masney <masneyb@onstation.org>2016-11-10 10:25:38 +0100
committerJonathan Cameron <jic23@kernel.org>2016-11-12 17:22:53 +0100
commit2167769aed61782b7b966b9dfaac8e357fa5c516 (patch)
tree733a77c1537b8a8cc2b2901c68286625714f7d6d /drivers/iio/industrialio-core.c
parentstaging: iio: tsl2583: split out functionality of taos_chip_on() (diff)
downloadlinux-2167769aed61782b7b966b9dfaac8e357fa5c516.tar.xz
linux-2167769aed61782b7b966b9dfaac8e357fa5c516.zip
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 'drivers/iio/industrialio-core.c')
0 files changed, 0 insertions, 0 deletions