Thread (4 messages) flat view 4 messages, 4 authors, 2020-07-21

Re: [PATCH net] net: bcmgenet: add missed clk_disable_unprepare in bcmgenet_probe

From: David Miller <davem@davemloft.net>
Date: 2020-07-21 00:04:37
Also in: lkml

From: Zhang Changzhong <redacted>
Date: Mon, 20 Jul 2020 17:36:34 +0800
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 <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help