Skip to contentSkip to conversation

Second set of IIO fixes for the 4.9 cycle.

GIT PULL Jonathan Cameron 1 participant 1 message Nov 6, 2016 IIO

lore
Share & tools
lore

Jonathan Cameron

author maintainer
#0 lore raw

The following changes since commit e866dd8aab76b6a0ee8428491e65fa5c83a6ae5a:

greybus: fix a leak on error in gb_module_create() (2016-10-24 15:51:00 +0200)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git tags/iio-fixes-for-4.9b

for you to fetch changes up to 6f77199e9e4b84340c751c585691d7642a47d226:

iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation. (2016-11-05 17:50:56 +0000)

----------------------------------------------------------------
Second set of IIO fixes for the 4.9 cycle.

Interestingly scale related fixes for accelerometers at both ends of the range. Obviously more varied devices turning up than we've seen before!

* ad5933
- fix an uninitialized value in a return case that is winding up GCC.
* hid sensors
- missing pm function prevents hid rotations sensors from working on newer ISH hubs (works by luck on older ones)
- increase of scale precision needed to fix a case where on a yoga 260 the reported scale is 0 (presumably a high precision but very low g sensor).
* st_sensors
- fix an issue seen with the hs3lis331dl where the range is much greater than previous devices (100's of g) and hence the per bit scale is greater than 1.

----------------------------------------------------------------
Arnd Bergmann (1):
staging: iio: ad5933: avoid uninitialized variable in error case

Lorenzo Bianconi (1):
iio: st_sensors: fix scale configuration for h3lis331dl

Song Hongyan (2):
iio: orientation: hid-sensor-rotation: Add PM function (fix non working driver)
iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation.

 drivers/iio/accel/st_accel_core.c                  | 12 +++--
 .../iio/common/hid-sensors/hid-sensor-attributes.c | 56 +++++++++++-----------
 drivers/iio/common/st_sensors/st_sensors_core.c    |  8 ++--
 drivers/iio/orientation/hid-sensor-rotation.c      |  1 +
 drivers/staging/iio/impedance-analyzer/ad5933.c    | 17 ++++---
 5 files changed, 52 insertions(+), 42 deletions(-)