All of lore.kernel.org
 help / color / mirror / Atom feed
From: shawn.guo@linaro.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2 3/3] ARM: imx: source gpt per clk from OSC for system timer
Date: Wed, 10 Sep 2014 21:01:52 +0800	[thread overview]
Message-ID: <20140910130150.GF22579@dragon> (raw)
In-Reply-To: <8DDD46F6-AA96-4E14-ADD6-45A1AD12423C@freescale.com>

On Wed, Sep 10, 2014 at 12:31:48PM +0000, Anson.Huang at freescale.com wrote:
> I think it should be OK now, but for the "try osc_per clk first ..." the check
> should be as below?
> 
> If (IS_ERR(clk_per))
>       clk_per = of_clk_get_by_name(np, "per");
> 

Ah, yes.  That was a mistake in my example code.

Shawn

WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: "Anson.Huang-KZfg59tc24xl57MIdRCFDg@public.gmane.org"
	<Anson.Huang-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
Cc: Fabio Estevam <festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Sascha Hauer <kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: [PATCH V2 3/3] ARM: imx: source gpt per clk from OSC for system timer
Date: Wed, 10 Sep 2014 21:01:52 +0800	[thread overview]
Message-ID: <20140910130150.GF22579@dragon> (raw)
In-Reply-To: <8DDD46F6-AA96-4E14-ADD6-45A1AD12423C-KZfg59tc24xl57MIdRCFDg@public.gmane.org>

On Wed, Sep 10, 2014 at 12:31:48PM +0000, Anson.Huang-KZfg59tc24xl57MIdRCFDg@public.gmane.org wrote:
> I think it should be OK now, but for the "try osc_per clk first ..." the check
> should be as below?
> 
> If (IS_ERR(clk_per))
>       clk_per = of_clk_get_by_name(np, "per");
> 

Ah, yes.  That was a mistake in my example code.

Shawn
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2014-09-10 13:01 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-05  3:26 [PATCH V2 0/3] move gpt per clk parent from ipg_per to OSC Anson Huang
2014-09-05  3:26 ` Anson Huang
2014-09-05  3:26 ` [PATCH V2 1/3] ARM: imx: add gpt_3m clk for i.mx6qdl Anson Huang
2014-09-05  3:26   ` Anson Huang
2014-09-05  3:26 ` [PATCH V2 2/3] ARM: dts: imx6: make gpt per clock can be from OSC Anson Huang
2014-09-05  3:26   ` Anson Huang
2014-09-05  3:26 ` [PATCH V2 3/3] ARM: imx: source gpt per clk from OSC for system timer Anson Huang
2014-09-05  3:26   ` Anson Huang
2014-09-05 12:09   ` Fabio Estevam
2014-09-05 12:09     ` Fabio Estevam
2014-09-05 12:58     ` Anson.Huang at freescale.com
2014-09-05 12:58       ` Anson.Huang-KZfg59tc24xl57MIdRCFDg
2014-09-10  7:33       ` Shawn Guo
2014-09-10  7:33         ` Shawn Guo
2014-09-10  7:43         ` Anson.Huang at freescale.com
2014-09-10  7:43           ` Anson.Huang-KZfg59tc24xl57MIdRCFDg
2014-09-10 11:49           ` Shawn Guo
2014-09-10 11:49             ` Shawn Guo
     [not found]             ` <8DDD46F6-AA96-4E14-ADD6-45A1AD12423C@freescale.com>
2014-09-10 13:01               ` Shawn Guo [this message]
2014-09-10 13:01                 ` Shawn Guo
2014-09-10  7:36   ` Shawn Guo
2014-09-10  7:36     ` Shawn Guo
2014-09-10  7:45     ` Anson.Huang at freescale.com
2014-09-10  7:45       ` Anson.Huang-KZfg59tc24xl57MIdRCFDg

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=20140910130150.GF22579@dragon \
    --to=shawn.guo@linaro.org \
    --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 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.