From: nsekhar@ti•com (Sekhar Nori)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH] ARM: davinci: clock: return 0 upon error from clk_round_rate()
Date: Wed, 27 Nov 2013 14:54:39 +0530 [thread overview]
Message-ID: <5295BA57.7000708@ti.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1311261653510.11450@tamien>
On Wednesday 27 November 2013 06:26 AM, Paul Walmsley wrote:
>
> clk_round_rate() should return 0 now upon an error, rather than
> returning a negative error code. This is because clk_round_rate() is
> being changed to return an unsigned return type rather than a signed
> type, since some clock sources can generate rates higher than (2^31)-1 Hz.
>
> Signed-off-by: Paul Walmsley <paul@pwsan•com>
> Cc: Philip Avinash <avinashphilip@ti•com>
> Cc: Sekhar Nori <nsekhar@ti•com>
> Cc: Kevin Hilman <khilman@deeprootsystems•com>
I applied this to my v3.14/soc[1] branch. For some reason I could not
apply the patch to v3.11-rc1 (patch command returns error). Nothing is
obviously worng. Anyway, the change is minor so I made the change manually.
Thanks,
Sekhar
[1]
https://git.kernel.org/cgit/linux/kernel/git/nsekhar/linux-davinci.git/log/?h=v3.14/soc
prev parent reply other threads:[~2013-11-27 9:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-27 0:56 [PATCH] ARM: davinci: clock: return 0 upon error from clk_round_rate() Paul Walmsley
2013-11-27 9:24 ` Sekhar Nori [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=5295BA57.7000708@ti.com \
--to=nsekhar@ti$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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