[PATCH v2 0/1] iio/scmi: Add reading "raw" attribute.

From: Andriy Tryshnivskyy
Date: Mon Sep 27 2021 - 09:22:20 EST


This patch implements reading "raw" attribute.

The patch is based on v5.14.

Comparing to the previous version it has:
* added an error return when the error happened during config_set
* removed redundant cast for "readings"
* added check if raw value fits 32 bits

Any comments are very welcome.

Thanks,
Andriy.

Andriy Tryshnivskyy (1):
iio/scmi: Add reading "raw" attribute.

drivers/iio/common/scmi_sensors/scmi_iio.c | 45 +++++++++++++++++++++-
1 file changed, 44 insertions(+), 1 deletion(-)


base-commit: 7d2a07b769330c34b4deabeed939325c77a7ec2f
--
2.17.1