From: Greg KH <gregkh@linuxfoundation.org>
To: Amit Pundir <amit.pundir@linaro.org>
Cc: Stable <stable@vger.kernel.org>,
Christian Lamparter <chunkeey@gmail.com>,
Michael Ellerman <mpe@ellerman.id.au>
Subject: Re: [PATCH for-4.19.y 3/3] powerpc/4xx/uic: clear pending interrupt after irq type/pol change
Date: Wed, 31 Jul 2019 11:46:37 +0200 [thread overview]
Message-ID: <20190731094637.GG18269@kroah.com> (raw)
In-Reply-To: <1564517799-16880-3-git-send-email-amit.pundir@linaro.org>
On Wed, Jul 31, 2019 at 01:46:39AM +0530, Amit Pundir wrote:
> From: Christian Lamparter <chunkeey@gmail.com>
>
> commit 3ab3a0689e74e6aa5b41360bc18861040ddef5b1 upstream.
>
> When testing out gpio-keys with a button, a spurious
> interrupt (and therefore a key press or release event)
> gets triggered as soon as the driver enables the irq
> line for the first time.
>
> This patch clears any potential bogus generated interrupt
> that was caused by the switching of the associated irq's
> type and polarity.
>
> Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
> Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
> ---
> Cherry-picked from lede/openwrt tree
> https://git.lede-project.org/?p=source.git.
> To be picked up for 4.14.y as well.
This is already in the 4.14.135 kernel release.
thanks,
greg k-h
prev parent reply other threads:[~2019-07-31 9:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-30 20:16 [PATCH for-4.19.y 1/3] usb: dwc2: Disable all EP's on disconnect Amit Pundir
2019-07-30 20:16 ` [PATCH for-4.19.y 2/3] usb: dwc2: Fix disable " Amit Pundir
2019-07-30 20:16 ` [PATCH for-4.19.y 3/3] powerpc/4xx/uic: clear pending interrupt after irq type/pol change Amit Pundir
2019-07-31 9:46 ` Greg KH [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=20190731094637.GG18269@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=amit.pundir@linaro.org \
--cc=chunkeey@gmail.com \
--cc=mpe@ellerman.id.au \
--cc=stable@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).