* [PATCH] (RESEND #2) i2c: prevent spurious interrupt
@ 2012-01-26 16:13 Alan Cox
[not found] ` <20120126161319.22798.6071.stgit-Z/y2cZnRghHXmaaqVzeoHQ@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Alan Cox @ 2012-01-26 16:13 UTC (permalink / raw)
To: linux-i2c-u79uwXL29TY76Z2rM5mHXA,
ben-linux-elnMNo+KYs3YtjvyW6yDsg
From: Kristen Carlson Accardi <kristen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Don't call i2c_enable on resume because it causes a spurious
interrupt.
Signed-off-by: Kristen Carlson Accardi <kristen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Signed-off-by: Alan Cox <alan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
---
drivers/i2c/busses/i2c-designware-pcidrv.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c
index 37f4211..00e8f21 100644
--- a/drivers/i2c/busses/i2c-designware-pcidrv.c
+++ b/drivers/i2c/busses/i2c-designware-pcidrv.c
@@ -182,7 +182,6 @@ static int i2c_dw_pci_resume(struct device *dev)
pci_restore_state(pdev);
i2c_dw_init(i2c);
- i2c_dw_enable(i2c);
return 0;
}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] (RESEND #2) i2c: prevent spurious interrupt
[not found] ` <20120126161319.22798.6071.stgit-Z/y2cZnRghHXmaaqVzeoHQ@public.gmane.org>
@ 2012-01-27 8:26 ` Jean Delvare
[not found] ` <20120127092607.09ed312a-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-02-13 23:28 ` Ben Dooks
1 sibling, 1 reply; 5+ messages in thread
From: Jean Delvare @ 2012-01-27 8:26 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA,
ben-linux-elnMNo+KYs3YtjvyW6yDsg
Hi Alan,
On Thu, 26 Jan 2012 16:13:34 +0000, Alan Cox wrote:
> From: Kristen Carlson Accardi <kristen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
>
> Don't call i2c_enable on resume because it causes a spurious
> interrupt.
>
> Signed-off-by: Kristen Carlson Accardi <kristen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> Signed-off-by: Alan Cox <alan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> ---
>
> drivers/i2c/busses/i2c-designware-pcidrv.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
Please come up with a decent subject line for this patch. Currently it
sounds very generic so Ben will never look at it, assuming I will take
care of it. But it is actually driver-specific, and that's a driver Ben
is responsible for, so I won't pick it.
> diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c
> index 37f4211..00e8f21 100644
> --- a/drivers/i2c/busses/i2c-designware-pcidrv.c
> +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c
> @@ -182,7 +182,6 @@ static int i2c_dw_pci_resume(struct device *dev)
> pci_restore_state(pdev);
>
> i2c_dw_init(i2c);
> - i2c_dw_enable(i2c);
> return 0;
> }
>
--
Jean Delvare
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] (RESEND #2) i2c: prevent spurious interrupt
[not found] ` <20120127092607.09ed312a-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
@ 2012-01-29 23:29 ` Ben Dooks
0 siblings, 0 replies; 5+ messages in thread
From: Ben Dooks @ 2012-01-29 23:29 UTC (permalink / raw)
To: Jean Delvare
Cc: Alan Cox, linux-i2c-u79uwXL29TY76Z2rM5mHXA,
ben-linux-elnMNo+KYs3YtjvyW6yDsg
On Fri, Jan 27, 2012 at 09:26:07AM +0100, Jean Delvare wrote:
> Hi Alan,
>
> On Thu, 26 Jan 2012 16:13:34 +0000, Alan Cox wrote:
> > From: Kristen Carlson Accardi <kristen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> >
> > Don't call i2c_enable on resume because it causes a spurious
> > interrupt.
> >
> > Signed-off-by: Kristen Carlson Accardi <kristen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> > Signed-off-by: Kirill A. Shutemov <kirill.shutemov-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> > Signed-off-by: Alan Cox <alan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> > ---
> >
> > drivers/i2c/busses/i2c-designware-pcidrv.c | 1 -
> > 1 files changed, 0 insertions(+), 1 deletions(-)
>
> Please come up with a decent subject line for this patch. Currently it
> sounds very generic so Ben will never look at it, assuming I will take
> care of it. But it is actually driver-specific, and that's a driver Ben
I agreee, the subject needs to be more specific to the driver it is
modifying. I would accept i2c-dw or i2c-designware as the start of
the subject.
Jean, thanks for clairfying ownership,
--
Ben Dooks, ben-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org, http://www.fluff.org/ben/
Large Hadron Colada: A large Pina Colada that makes the universe disappear.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] (RESEND #2) i2c: prevent spurious interrupt
[not found] ` <20120126161319.22798.6071.stgit-Z/y2cZnRghHXmaaqVzeoHQ@public.gmane.org>
2012-01-27 8:26 ` Jean Delvare
@ 2012-02-13 23:28 ` Ben Dooks
[not found] ` <20120213232857.GI2999-RazCHl0VsYgkUSuvROHNpA@public.gmane.org>
1 sibling, 1 reply; 5+ messages in thread
From: Ben Dooks @ 2012-02-13 23:28 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA,
ben-linux-elnMNo+KYs3YtjvyW6yDsg
On Thu, Jan 26, 2012 at 04:13:34PM +0000, Alan Cox wrote:
> From: Kristen Carlson Accardi <kristen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
>
> Don't call i2c_enable on resume because it causes a spurious
> interrupt.
>
> Signed-off-by: Kristen Carlson Accardi <kristen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> Signed-off-by: Alan Cox <alan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> ---
No-one seems to have decided to fix the title of this patch. If
there's nothing received before the end of the week then I will
decide to arbitrarily do something about it.
--
Ben
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] (RESEND #2) i2c: prevent spurious interrupt
[not found] ` <20120213232857.GI2999-RazCHl0VsYgkUSuvROHNpA@public.gmane.org>
@ 2012-02-13 23:45 ` Alan Cox
0 siblings, 0 replies; 5+ messages in thread
From: Alan Cox @ 2012-02-13 23:45 UTC (permalink / raw)
To: Ben Dooks
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA,
ben-linux-elnMNo+KYs3YtjvyW6yDsg
On Mon, 13 Feb 2012 23:28:57 +0000
Ben Dooks <ben-i2c-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org> wrote:
> On Thu, Jan 26, 2012 at 04:13:34PM +0000, Alan Cox wrote:
> > From: Kristen Carlson Accardi <kristen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> >
> > Don't call i2c_enable on resume because it causes a spurious
> > interrupt.
> >
> > Signed-off-by: Kristen Carlson Accardi <kristen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> > Signed-off-by: Kirill A. Shutemov <kirill.shutemov-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> > Signed-off-by: Alan Cox <alan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> > ---
>
> No-one seems to have decided to fix the title of this patch.
What wants fixing ?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-02-13 23:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-26 16:13 [PATCH] (RESEND #2) i2c: prevent spurious interrupt Alan Cox
[not found] ` <20120126161319.22798.6071.stgit-Z/y2cZnRghHXmaaqVzeoHQ@public.gmane.org>
2012-01-27 8:26 ` Jean Delvare
[not found] ` <20120127092607.09ed312a-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-01-29 23:29 ` Ben Dooks
2012-02-13 23:28 ` Ben Dooks
[not found] ` <20120213232857.GI2999-RazCHl0VsYgkUSuvROHNpA@public.gmane.org>
2012-02-13 23:45 ` Alan Cox
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).