On Tue, Feb 11, 2020 at 8:15 AM Gregor Riepl <onitake@xxxxxxxxx> 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