linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] iio/scmi: Add reading "raw" attribute.
@ 2021-09-27 13:22 Andriy Tryshnivskyy
  2021-09-27 13:22 ` [PATCH v2 1/1] " Andriy Tryshnivskyy
  2021-10-01  7:11 ` [PATCH v2 0/1] " Andriy Tryshnivskyy
  0 siblings, 2 replies; 5+ messages in thread
From: Andriy Tryshnivskyy @ 2021-09-27 13:22 UTC (permalink / raw)
  To: jbhayana, jic23
  Cc: lars, linux-iio, linux-kernel, Vasyl.Vavrychuk, andriy.tryshnivskyy

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-01  7:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27 13:22 [PATCH v2 0/1] iio/scmi: Add reading "raw" attribute Andriy Tryshnivskyy
2021-09-27 13:22 ` [PATCH v2 1/1] " Andriy Tryshnivskyy
2021-09-30 16:33   ` Jonathan Cameron
2021-10-01  7:12     ` Andriy Tryshnivskyy
2021-10-01  7:11 ` [PATCH v2 0/1] " Andriy Tryshnivskyy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).