From: David Lechner <david@lechnology.com>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Sekhar Nori <nsekhar@ti.com>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] clk: davinci: cfgchip: testing the wrong variable
Date: Mon, 25 Jun 2018 18:17:55 -0500 [thread overview]
Message-ID: <3a6d0388-7915-8ea3-6ad6-38dc7ee06377@lechnology.com> (raw)
In-Reply-To: <20180602075256.hrvidsfsmr33mv2f@kili.mountain>
On 06/02/2018 02:52 AM, Dan Carpenter wrote:
> There is a copy and paste bug here. We should be testing "usb1" instead
> of "usb0".
>
> Fixes: 58e1e2d2cd89 ("clk: davinci: cfgchip: Add TI DA8XX USB PHY clocks")
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
>
> diff --git a/drivers/clk/davinci/da8xx-cfgchip.c b/drivers/clk/davinci/da8xx-cfgchip.c
> index c971111d2601..20a120aa147e 100644
> --- a/drivers/clk/davinci/da8xx-cfgchip.c
> +++ b/drivers/clk/davinci/da8xx-cfgchip.c
> @@ -672,7 +672,7 @@ static int of_da8xx_usb_phy_clk_init(struct device *dev, struct regmap *regmap)
>
> usb1 = da8xx_cfgchip_register_usb1_clk48(dev, regmap);
> if (IS_ERR(usb1)) {
> - if (PTR_ERR(usb0) == -EPROBE_DEFER)
> + if (PTR_ERR(usb1) == -EPROBE_DEFER)
> return -EPROBE_DEFER;
>
> dev_warn(dev, "Failed to register usb1_clk48 (%ld)\n",
>
Applied to https://github.com/dlech/linux/tree/clk-davinci-fixes
Thanks.
next prev parent reply other threads:[~2018-06-25 23:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-02 7:52 Dan Carpenter
2018-06-02 14:33 ` David Lechner
2018-06-25 23:17 ` David Lechner [this message]
2018-06-25 23:33 ` Stephen Boyd
2018-06-25 23:57 ` David Lechner
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=3a6d0388-7915-8ea3-6ad6-38dc7ee06377@lechnology.com \
--to=david@lechnology.com \
--cc=dan.carpenter@oracle.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=nsekhar@ti.com \
--cc=sboyd@kernel.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
all inboxes | Powered by JetHome®