linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: Jean Delvare <jdelvare@suse.de>
Cc: "linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>
Subject: Re: [PATCH] gpio: pch: Optimize pch_gpio_get()
Date: Tue, 5 Jan 2016 15:47:01 +0100	[thread overview]
Message-ID: <CACRpkdYruZ2GFcfCgPyGGGOW9exuMz7obAVRic9MJcYbKRXqWA@mail.gmail.com> (raw)
In-Reply-To: <20160105142347.72fff8f1@endymion.delvare>

On Tue, Jan 5, 2016 at 2:23 PM, Jean Delvare <jdelvare@suse.de> wrote:

> The double negation is costly and can be avoided by shifting the
> register value before masking the requested bit.
>
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Cc: Linus Walleij <linus.walleij@linaro.org>

Patch applied.

Yours,
Linus Walleij

      reply	other threads:[~2016-01-05 14:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-05 13:23 [PATCH] gpio: pch: Optimize pch_gpio_get() Jean Delvare
2016-01-05 14:47 ` Linus Walleij [this message]

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=CACRpkdYruZ2GFcfCgPyGGGOW9exuMz7obAVRic9MJcYbKRXqWA@mail.gmail.com \
    --to=linus.walleij@linaro.org \
    --cc=jdelvare@suse.de \
    --cc=linux-gpio@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).