diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2018-04-25 20:21:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-27 11:22:55 -0400 |
commit | 45f972adb7f4db2d7f02af728ccd104113336074 (patch) | |
tree | ddd93bd18a9766699a045868b25fbe6c05c3989d /drivers/net/eql.c | |
parent | c55ca688ed99a9cb79367aee2ed2ff6cb80fc039 (diff) |
net: mvpp2: Fix clk error path in mvpp2_probe
When clk_prepare_enable fails for the axi_clk, the mg_clk isn't properly
cleaned up. Add another jump label to handle that case, and make sure we
jump to it in the later error cases.
Fixes: 4792ea04bcd0 ("net: mvpp2: Fix clock resource by adding an optional bus clock")
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/eql.c')
0 files changed, 0 insertions, 0 deletions