public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: m.szyprowski@samsung.com (Marek Szyprowski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/7] ARM: S5PC110: Fix wrong interrupt I2C2 number
Date: Thu, 07 Oct 2010 11:02:39 +0200	[thread overview]
Message-ID: <018501cb65fe$677dfe40$3679fac0$%szyprowski@samsung.com> (raw)
In-Reply-To: <004401cb65bf$ec00b7a0$c40226e0$%kim@samsung.com>

Hello,

On Thursday, October 07, 2010 3:35 AM Kukjin Kim wrote:

> Kyungmin Park wrote:
> >
> > From: Kyungmin Park <kyungmin.park@samsung.com>
> >
> > It's I2C2 interrupt number instead of CAN0.
> >
> > Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> > ---
> >  arch/arm/mach-s5pv210/include/mach/irqs.h |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/arch/arm/mach-s5pv210/include/mach/irqs.h b/arch/arm/mach-
> > s5pv210/include/mach/irqs.h
> > index cdb8ae4..5ab1833 100644
> > --- a/arch/arm/mach-s5pv210/include/mach/irqs.h
> > +++ b/arch/arm/mach-s5pv210/include/mach/irqs.h
> > @@ -55,8 +55,8 @@
> >  #define IRQ_SPI1		S5P_IRQ_VIC1(16)
> >  #define IRQ_SPI2		S5P_IRQ_VIC1(17)
> >  #define IRQ_IRDA		S5P_IRQ_VIC1(18)
> > -#define IRQ_CAN0		S5P_IRQ_VIC1(19)
> > -#define IRQ_CAN1		S5P_IRQ_VIC1(20)
> > +#define IRQ_IIC2		S5P_IRQ_VIC1(19)
> > +#define IRQ_I2C_HDMI_PHY	S5P_IRQ_VIC1(20)
> >  #define IRQ_HSIRX		S5P_IRQ_VIC1(21)
> >  #define IRQ_HSITX		S5P_IRQ_VIC1(22)
> >  #define IRQ_UHOST		S5P_IRQ_VIC1(23)
> > --
> 
> Please refer to my other comments.
> 
> Hmm...I think, no need to change to IRQ_I2C_HDMI_PHY...in here.
> If required, we can do it later...and how about IRQ_IIC_HDMI_PHY like other
> IRQ_IIC?

IMHO the best option would be to call it just IRQ_IIC3. This way it would be
possible just to use the dev-i2c3 from the next patch in this series (once a
dummy setup-i2c3 will be provided for s5pv210). Otherwise we would need to
create a special dev-i2c-hdmiphy.c just for this case what would be an overhead
imho.

Best regards
--
Marek Szyprowski
Samsung Poland R&D Center

      reply	other threads:[~2010-10-07  9:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30  4:48 [PATCH 2/7] ARM: S5PC110: Fix wrong interrupt I2C2 number Kyungmin Park
2010-10-07  1:35 ` Kukjin Kim
2010-10-07  9:02   ` Marek Szyprowski [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='018501cb65fe$677dfe40$3679fac0$%szyprowski@samsung.com' \
    --to=m.szyprowski@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.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