]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: fec: disable correct clk in the err path of fec_enet_clk_enable
authorLiu Xiang <liuxiang_1999@126.com>
Fri, 29 May 2020 15:24:56 +0000 (23:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2020 18:45:40 +0000 (11:45 -0700)
commita74d19ba7c41b6c1e424ef4fb7d4600f43ff75e5
tree3cfac353ac4a3c4464edb49a9104a3f94a376d4b
parent0c34bb598c510e070160029f34efeeb217000f8d
net: fec: disable correct clk in the err path of fec_enet_clk_enable

When enable clk_ref failed, clk_ptp should be disabled rather than
clk_ref itself.

Signed-off-by: Liu Xiang <liuxiang_1999@126.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c