Brian Masney 2167769aed 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>
2016-11-12 16:22:53 +00:00
..
2016-10-06 17:13:54 -07:00
2016-10-10 10:58:22 +02:00
2016-10-11 12:52:41 -07:00
2016-10-21 21:40:29 +02:00
2016-09-27 12:33:47 +02:00
2016-10-28 09:27:58 -07:00
2016-10-19 08:39:47 -07:00
2016-10-07 21:23:40 -07:00
2016-10-29 11:19:02 -07:00
2016-10-14 13:43:08 -07:00
2016-10-07 21:23:40 -07:00
2016-09-20 20:57:12 +10:00
2016-10-06 17:03:49 -07:00
2016-10-14 13:13:44 -07:00
2016-10-27 10:08:58 -07:00
2016-10-14 11:07:42 -07:00
2016-10-11 15:06:33 -07:00
2016-09-29 13:36:38 -06:00
2016-10-19 08:39:47 -07:00
2016-10-24 19:52:24 -07:00