mbox series

[0/3] resolve read hystersis return invalid argument issue for hid sensors

Message ID 20210120074706.23199-1-xiang.ye@intel.com
Headers show
Series resolve read hystersis return invalid argument issue for hid sensors | expand

Message

Ye Xiang Jan. 20, 2021, 7:47 a.m. UTC
This patch series move get sensitivity attribute to common layer and
resolve read hystersis return invalid argument issue for hid sensors als,
incli-3d, rotation, and press on intel ISH Platform.

Ye Xiang (3):
  iio: hid-sensors: Move get sensitivity attribute to hid-sensor-common
  hid-sensor-common: Add relative sensitivity check
  hid-sensors: Add more data fields for sensitivity checking

 drivers/iio/accel/hid-sensor-accel-3d.c       | 23 +++++--------
 .../hid-sensors/hid-sensor-attributes.c       | 26 +++++++++++++-
 drivers/iio/gyro/hid-sensor-gyro-3d.c         | 19 ++++-------
 drivers/iio/humidity/hid-sensor-humidity.c    | 16 ++++-----
 drivers/iio/light/hid-sensor-als.c            | 20 +++++------
 drivers/iio/light/hid-sensor-prox.c           | 27 +++++----------
 drivers/iio/magnetometer/hid-sensor-magn-3d.c | 34 ++++++-------------
 drivers/iio/orientation/hid-sensor-incl-3d.c  | 20 +++++------
 drivers/iio/orientation/hid-sensor-rotation.c | 24 ++++++-------
 .../position/hid-sensor-custom-intel-hinge.c  | 20 ++++-------
 drivers/iio/pressure/hid-sensor-press.c       | 20 +++++------
 .../iio/temperature/hid-sensor-temperature.c  | 16 ++++-----
 drivers/rtc/rtc-hid-sensor-time.c             |  4 ++-
 include/linux/hid-sensor-hub.h                |  4 ++-
 include/linux/hid-sensor-ids.h                |  1 +
 15 files changed, 122 insertions(+), 152 deletions(-)