All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kukjin Kim <kgene.kim@samsung.com>
To: 'Olof Johansson' <olof@lixom.net>
Cc: linux-samsung-soc@vger.kernel.org
Subject: RE: [PATCH] ARM: EXYNOS: skip the clock initialization for exynos5440
Date: Tue, 08 Jan 2013 09:35:29 -0800	[thread overview]
Message-ID: <097801cdedc6$8eb22700$ac167500$@samsung.com> (raw)
In-Reply-To: <CAOesGMjaaGtGh8SOJVUWU+nJ2kJ9ZfhA=ieutmZRuNYu=2W2gw@mail.gmail.com>

Olof Johansson wrote:
> 
> Hi,
> 
> On Mon, Dec 31, 2012 at 3:33 PM, Kukjin Kim <kgene.kim@samsung.com>
> wrote:
> > Since exynos5440 can support only common clk stuff, so this
> > patch skips legacy exynos5 clock initialization.
> >
> > Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
> > ---
> >  arch/arm/mach-exynos/common.c |    7 +++++++
> >  1 file changed, 7 insertions(+)
> >
> > diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-
> exynos/common.c
> > index d6d0dc6..1a89824 100644
> > --- a/arch/arm/mach-exynos/common.c
> > +++ b/arch/arm/mach-exynos/common.c
> > @@ -424,11 +424,18 @@ static void __init exynos5_init_clocks(int xtal)
> >  {
> >         printk(KERN_DEBUG "%s: initializing clocks\n", __func__);
> >
> > +       /* EXYNOS5440 can support only common clock framework */
> > +
> > +       if (soc_is_exynos5440())
> > +               return;
> > +
> > +#ifdef CONFIG_SOC_EXYNOS5250
> 
> Why are you adding an ifdef here, when the return above will take care
> of returning early for 5440?
> 
Without this, compilation error should be happened when we builds only for
exynos5440 without selection exynos5250, because you know, current
exynos5440 stuff cannot support legacy exynos5 clock. Of course, the ifdef
will be going away when we support common clock on all of exynos stuff, but
it's v3.9 not v3.8 so I think, we need this for now.
Note, exynos5440 is working fine on current mainline + v3.8-samsung-fixes-2
without any configuration clock stuff in kernel because hardware initial
value is ok.

- Kukjin

  reply	other threads:[~2013-01-08 17:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-31 23:33 [PATCH] ARM: EXYNOS: skip the clock initialization for exynos5440 Kukjin Kim
2013-01-08  5:14 ` Olof Johansson
2013-01-08 17:35   ` Kukjin Kim [this message]
2013-01-08 17:39     ` Olof Johansson

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='097801cdedc6$8eb22700$ac167500$@samsung.com' \
    --to=kgene.kim@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=olof@lixom.net \
    /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.