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

From: Andriy Tryshnivskyy
Date: Fri Oct 01 2021 - 03:11:13 EST


Hi All,

I've found a problem with this patch and prepared a new one with a fix.
So please review v3 and ignore this one.

Thanks,
Andriy.

On 27.09.21 16:22, Andriy Tryshnivskyy wrote:
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