Re: [PATCH v2] iio: adc: ti-ads8688: use read_avail for available attributes

From: grondon

Date: Mon Mar 30 2026 - 14:15:15 EST


From: Gabriel Rondon <grondon@xxxxxxxxx>

On Thu, 26 Mar 2026 10:57:44 +0200, Andy Shevchenko wrote:
> But it will still cut the value, so you most likely would like to have
> GENMASK_U16() or alike.

Jonathan suggested keeping the original expression -(1 << (ADS8688_REALBITS - 1))
to match the existing table, since -BIT() caused overflow warnings from the
kernel test robot. Will send v3 with the original expression.

Thanks,
Gabriel