From: viresh.kumar@st.com (Viresh Kumar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] clk: clk_calc_new_rates() required for parent only if CLK_SET_RATE_PARENT is set
Date: Wed, 11 Apr 2012 12:17:47 +0530 [thread overview]
Message-ID: <4F852913.20708@st.com> (raw)
In-Reply-To: <20120411064359.GD20478@pengutronix.de>
On 4/11/2012 12:13 PM, Sascha Hauer wrote:
> I see no functional change in this patch. With or without this patch we
> only call clk_calc_new_rates() when the parent rate actually changed.
> The code is easier to read with this patch and may be slightly more
> efficient, so:
>
> Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Thanks Sascha. :)
Actually i am doing SPEAr clock stuff and i have to look at already
implemented clock source files. when i feel something can be rearranged
in a better way (atleast according to me :) ), i patch it.
They wouldn't be tested as i don't have SPEAr stuff ready. Will mention this
untested thing in patch next time.
You may see some more of these in coming time.
--
viresh
prev parent reply other threads:[~2012-04-11 6:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-11 6:08 [PATCH] clk: clk_calc_new_rates() required for parent only if CLK_SET_RATE_PARENT is set Viresh Kumar
2012-04-11 6:43 ` Sascha Hauer
2012-04-11 6:47 ` Viresh Kumar [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=4F852913.20708@st.com \
--to=viresh.kumar@st.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 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.