Re: [PATCH v5 3/5] iio: core: add iio_fill_val_int_64() helper
From: Andy Shevchenko
Date: Tue Nov 03 2026 - 12:49:03 EST
On Tue, Nov 03, 2026 at 04:37:13PM +0200, Ariana Lazar wrote:
> Add iio_fill_val_int_64() to populate the val and val2 output parameters
> with the lower and upper 32 bits of a 64-bit value, as used for
> IIO_VAL_INT_64. The helper wraps lower_32_bits() and upper_32_bits() in
> order to split the value with a single call.
>
> The pac1711 driver will be the first user of this function.
NAK. Use existing iio_val_s64_decompose().
--
With Best Regards,
Andy Shevchenko