From: "\"Andersson, Björn\"" <Bjorn.Andersson-/MT0OVThwyLZJqsBc5GL+g@public.gmane.org>
To: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>,
"linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] i2c: qup: use proper type fro clk_freq
Date: Thu, 3 Apr 2014 11:52:21 +0200 [thread overview]
Message-ID: <CF62FA60.4537C%bjorn.andersson@sonymobile.com> (raw)
In-Reply-To: <1396517774-8400-1-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
Of course, sorry about that.
Acked-by: Bjorn Andersson <bjorn.andersson-/MT0OVThwyLZJqsBc5GL+g@public.gmane.org>
On 4/3/14 11:36 AM, "Wolfram Sang" <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org> wrote:
>It is used with of_property_read_u32(), so it should be u32.
>
>Signed-off-by: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
>---
> drivers/i2c/busses/i2c-qup.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c
>index ee409803fd94..1b4cf14f1106 100644
>--- a/drivers/i2c/busses/i2c-qup.c
>+++ b/drivers/i2c/busses/i2c-qup.c
>@@ -562,7 +562,7 @@ static int qup_i2c_probe(struct platform_device *pdev)
> u32 io_mode, hw_ver, size;
> int ret, fs_div, hs_div;
> int src_clk_freq;
>- int clk_freq = 100000;
>+ u32 clk_freq = 100000;
>
> qup = devm_kzalloc(&pdev->dev, sizeof(*qup), GFP_KERNEL);
> if (!qup)
>--
>1.9.0
>
prev parent reply other threads:[~2014-04-03 9:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-03 9:36 [PATCH] i2c: qup: use proper type fro clk_freq Wolfram Sang
[not found] ` <1396517774-8400-1-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2014-04-03 9:52 ` "Andersson, Björn" [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=CF62FA60.4537C%bjorn.andersson@sonymobile.com \
--to=bjorn.andersson-/mt0ovthwylzjqsbc5gl+g@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.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;
as well as URLs for NNTP newsgroup(s).