diff options
author | Wang Hai <wanghai38@huawei.com> | 2020-08-10 04:57:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-11 19:36:47 +0200 |
commit | 50caa777a3a24d7027748e96265728ce748b41ef (patch) | |
tree | b77658485678206dbb81d79e376172692d4e342c /drivers/net/ethernet/freescale | |
parent | ionic_lif: Use devm_kcalloc() in ionic_qcq_alloc() (diff) | |
download | linux-50caa777a3a24d7027748e96265728ce748b41ef.tar.xz linux-50caa777a3a24d7027748e96265728ce748b41ef.zip |
net: qcom/emac: add missed clk_disable_unprepare in error path of emac_clks_phase1_init
Fix the missing clk_disable_unprepare() before return
from emac_clks_phase1_init() in the error handling case.
Fixes: b9b17debc69d ("net: emac: emac gigabit ethernet controller driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Acked-by: Timur Tabi <timur@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale')
0 files changed, 0 insertions, 0 deletions