[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f272bf64-73e2-72ab-3717-cc094b30140c@gmail.com>
Date: Mon, 20 Jul 2020 10:01:37 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Zhang Changzhong <zhangchangzhong@...wei.com>, opendmb@...il.com,
davem@...emloft.net, kuba@...nel.org
Cc: bcm-kernel-feedback-list@...adcom.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] net: bcmgenet: add missed clk_disable_unprepare in
bcmgenet_probe
On 7/20/20 2:36 AM, Zhang Changzhong wrote:
> The driver forgets to call clk_disable_unprepare() in error path after
> a success calling for clk_prepare_enable().
>
> Fix to goto err_clk_disable if clk_prepare_enable() is successful.
>
> Fixes: c80d36ff63a5 ("net: bcmgenet: Use devm_clk_get_optional() to get the clocks")
> Signed-off-by: Zhang Changzhong <zhangchangzhong@...wei.com>
Acked-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists