mbox series

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

Message ID 20210927132202.17335-1-andriy.tryshnivskyy@opensynergy.com (mailing list archive)
Headers show
Series iio/scmi: Add reading "raw" attribute. | expand

Message

Andriy Tryshnivskyy Sept. 27, 2021, 1:22 p.m. UTC
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

Comments

Andriy Tryshnivskyy Oct. 1, 2021, 7:11 a.m. UTC | #1
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