Re: [PATCH] RFT: iio: gp2ap002: Replace LUT with math
From: Linus Walleij <hidden>
Date: 2020-02-11 07:51:49
Also in:
linux-iio
From: Linus Walleij <hidden>
Date: 2020-02-11 07:51:49
Also in:
linux-iio
On Tue, Feb 11, 2020 at 8:15 AM Gregor Riepl [off-list ref] wrote:
How about this, then? With a full-range lookup table (47 values), it's even possible to avoid additional constants and simply clamp to the size of the table.
This looks VERY good! Can you provide a patch against upstream (Jonathan's tree) or do you want me to pick the method and send a patch (I can add in your Signed-off-by in that case, if you approve). Yours, Linus Walleij