Re: [RFC] iio: afe: rescale: Add support for converting scale avail table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 11, 2022 at 9:46 PM Paul Cercueil <paul@xxxxxxxxxxxxxxx> wrote:
>
> When the IIO channel has a scale_available attribute, we want the values
> contained to be properly converted the same way the scale value is.

Beside that not very readable `foo <<= x == y;` line, I think this
will look much better if we first convert the rescale driver to use
struct s32_fract (or whatever is suitable).

-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux