Re: [PATCH RFC v4 02/10] iio: core: support 64-bit register through debugfs

From: Andy Shevchenko

Date: Sun May 10 2026 - 06:07:55 EST


On Fri, May 08, 2026 at 06:00:18PM +0100, Rodrigo Alencar via B4 Relay wrote:

> Add debugfs_reg64_access function pointer field into iio_info and modify
> file operation callbacks to favor 64-bit variant when it is available.

To write a value with bit 63 set it will require negative number, right?
Isn't this counter intuitive and may lead to rejection of the (correct)
values?


--
With Best Regards,
Andy Shevchenko