All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: Gregor Riepl <onitake@gmail.com>
Cc: Jonathan Bakker <xc-racer2@live.ca>,
	Jonathan Cameron <jic23@kernel.org>,
	linux-iio <linux-iio@vger.kernel.org>,
	Hartmut Knaack <knaack.h@gmx.de>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
	Linux Input <linux-input@vger.kernel.org>
Subject: Re: [PATCH] RFT: iio: gp2ap002: Replace LUT with math
Date: Tue, 11 Feb 2020 08:51:33 +0100	[thread overview]
Message-ID: <CACRpkdb38q0iDa+Y18bE82haoSTXzbuORjer=g9yMtsw4COuJA@mail.gmail.com> (raw)
In-Reply-To: <9797aa15-eed1-932c-3cd6-64d7ccbf9d5e@gmail.com>

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

  reply	other threads:[~2020-02-11  7:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-08 12:33 [PATCH] RFT: iio: gp2ap002: Replace LUT with math Linus Walleij
2020-02-09 10:27 ` Gregor Riepl
2020-02-10 13:28   ` Linus Walleij
2020-02-10 19:33     ` Gregor Riepl
2020-02-10 23:19       ` Jonathan Bakker
2020-02-11  7:15         ` Gregor Riepl
2020-02-11  7:51           ` Linus Walleij [this message]
2020-02-11  8:09             ` Gregor Riepl
2020-02-10 22:53 ` Jonathan Bakker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACRpkdb38q0iDa+Y18bE82haoSTXzbuORjer=g9yMtsw4COuJA@mail.gmail.com' \
    --to=linus.walleij@linaro.org \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=onitake@gmail.com \
    --cc=pmeerw@pmeerw.net \
    --cc=xc-racer2@live.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.