mbox series

[0/3] iio: hid-sensor-prox: fix SCALE and OFFSET calculation

Message ID 20250331055022.1149736-1-lixu.zhang@intel.com
Headers show
Series iio: hid-sensor-prox: fix SCALE and OFFSET calculation | expand

Message

Zhang Lixu March 31, 2025, 5:50 a.m. UTC
This patch series addresses issues in the hid-sensor-prox driver related to
SCALE and OFFSET calculations. The changes include restoring lost scale
assignments, supporting multi-channel SCALE calculation, and fixing incorrect
OFFSET calculation.


Zhang Lixu (3):
  iio: hid-sensor-prox: Restore lost scale assignments
  iio: hid-sensor-prox: support multi-channel SCALE calculation
  iio: hid-sensor-prox: Fix incorrect OFFSET calculation

 .../hid-sensors/hid-sensor-attributes.c       |  4 ++++
 drivers/iio/light/hid-sensor-prox.c           | 22 ++++++++++++-------
 2 files changed, 18 insertions(+), 8 deletions(-)


base-commit: e21edb1638e82460f126a6e49bcdd958d452929c