From: Felipe Balbi <balbi@ti.com>
To: Felipe Balbi <balbi@ti.com>
Cc: Roger Quadros <rogerq@ti.com>,
tglx@linutronix.de, cw00.choi@samsung.com, tony@atomide.com,
linux-usb@vger.kernel.org, linux-omap@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] genirq: provide dummy set_irq_wake()
Date: Mon, 30 Mar 2015 13:06:45 -0500 [thread overview]
Message-ID: <20150330180645.GC9513@saruman.tx.rr.com> (raw)
In-Reply-To: <20150330180624.GB9513@saruman.tx.rr.com>
[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]
On Mon, Mar 30, 2015 at 01:06:24PM -0500, Felipe Balbi wrote:
> On Mon, Mar 30, 2015 at 04:15:45PM +0300, Roger Quadros wrote:
> > Without this system suspend is broken on systems that have
> > drivers calling enable/disable_irq_wake() for interrupts based off
> > the dummy irq hook.
> > (e.g. drivers/gpio/gpio-pcf857x.c)
> >
> > http://article.gmane.org/gmane.linux.kernel/1879035
> >
> > Signed-off-by: Roger Quadros <rogerq@ti.com>
> > ---
> > kernel/irq/dummychip.c | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/kernel/irq/dummychip.c b/kernel/irq/dummychip.c
> > index 988dc58..2405d7a 100644
> > --- a/kernel/irq/dummychip.c
> > +++ b/kernel/irq/dummychip.c
> > @@ -32,6 +32,11 @@ static unsigned int noop_ret(struct irq_data *data)
> > return 0;
> > }
> >
> > +static int noop_int_ret(struct irq_data *data, unsigned int val)
> > +{
> > + return 0;
> > +}
> > +
>
> isn't this the same as noop_ret ?
oh no, unsigned versus signed.
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Felipe Balbi <balbi@ti.com>
To: Felipe Balbi <balbi@ti.com>
Cc: Roger Quadros <rogerq@ti.com>, <tglx@linutronix.de>,
<cw00.choi@samsung.com>, <tony@atomide.com>,
<linux-usb@vger.kernel.org>, <linux-omap@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] genirq: provide dummy set_irq_wake()
Date: Mon, 30 Mar 2015 13:06:45 -0500 [thread overview]
Message-ID: <20150330180645.GC9513@saruman.tx.rr.com> (raw)
In-Reply-To: <20150330180624.GB9513@saruman.tx.rr.com>
[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]
On Mon, Mar 30, 2015 at 01:06:24PM -0500, Felipe Balbi wrote:
> On Mon, Mar 30, 2015 at 04:15:45PM +0300, Roger Quadros wrote:
> > Without this system suspend is broken on systems that have
> > drivers calling enable/disable_irq_wake() for interrupts based off
> > the dummy irq hook.
> > (e.g. drivers/gpio/gpio-pcf857x.c)
> >
> > http://article.gmane.org/gmane.linux.kernel/1879035
> >
> > Signed-off-by: Roger Quadros <rogerq@ti.com>
> > ---
> > kernel/irq/dummychip.c | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/kernel/irq/dummychip.c b/kernel/irq/dummychip.c
> > index 988dc58..2405d7a 100644
> > --- a/kernel/irq/dummychip.c
> > +++ b/kernel/irq/dummychip.c
> > @@ -32,6 +32,11 @@ static unsigned int noop_ret(struct irq_data *data)
> > return 0;
> > }
> >
> > +static int noop_int_ret(struct irq_data *data, unsigned int val)
> > +{
> > + return 0;
> > +}
> > +
>
> isn't this the same as noop_ret ?
oh no, unsigned versus signed.
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-03-30 18:06 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-30 13:15 [PATCH] genirq: provide dummy set_irq_wake() Roger Quadros
2015-03-30 13:15 ` Roger Quadros
2015-03-30 18:06 ` Felipe Balbi
2015-03-30 18:06 ` Felipe Balbi
2015-03-30 18:06 ` Felipe Balbi [this message]
2015-03-30 18:06 ` Felipe Balbi
2015-04-14 10:13 ` Roger Quadros
2015-04-14 10:13 ` Roger Quadros
2015-04-14 14:02 ` Gregory CLEMENT
2015-04-15 8:07 ` Roger Quadros
2015-04-15 8:07 ` Roger Quadros
[not found] ` <552E1C4A.7060503-l0cyMroinI0@public.gmane.org>
2015-04-15 8:51 ` Gregory CLEMENT
2015-04-15 8:51 ` Gregory CLEMENT
2015-04-15 8:14 ` [PATCH v2] genirq: Set IRQCHIP_SKIP_SET_WAKE flag for dummy_irq_chip Roger Quadros
2015-04-15 8:14 ` Roger Quadros
[not found] ` <552E1DD3.4040106-l0cyMroinI0@public.gmane.org>
2015-04-15 9:29 ` Gregory CLEMENT
2015-04-15 9:29 ` Gregory CLEMENT
2015-04-24 19:00 ` [tip:irq/urgent] " tip-bot for Roger Quadros
2015-05-11 10:50 ` [PATCH v2] " Geert Uytterhoeven
2015-05-11 11:14 ` Roger Quadros
2015-05-11 11:14 ` Roger Quadros
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=20150330180645.GC9513@saruman.tx.rr.com \
--to=balbi@ti.com \
--cc=cw00.choi@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=rogerq@ti.com \
--cc=tglx@linutronix.de \
--cc=tony@atomide.com \
/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.