[lkml]   [2017]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/4] iio: light: vl6180: Several fixes and enhancements
Currently, the vl6180 driver reports bogus in_illuminance_scale values
when the integration time or hardware gain are changed from its default
value, i.e. it always reports a fixed value.

To avoid readback of the register values in case integration time, gain
or scale is queried, save the register values. Use the saved values
to report the correct scale value.

Stefan Brüns (4):
iio: light: vl6180: Move range check to integration time setter,
iio: light: vl6180: Avoid readback of integration time register
iio: light: vl6180: Cleanup als_gain lookup, avoid register readback
iio: light: vl6180: Correct ALS scale for non-default gain/integration

drivers/iio/light/vl6180.c | 125 +++++++++++++++++++++++++--------------------
1 file changed, 69 insertions(+), 56 deletions(-)


 \ /
  Last update: 2017-09-19 05:12    [W:0.099 / U:2.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site