]> git.baikalelectronics.ru Git - kernel.git/commit
dwc_eth_qos: fix missing clk_disable_unprepare() on error in dwceqos_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 12 Jul 2016 11:43:37 +0000 (11:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Jul 2016 18:07:38 +0000 (11:07 -0700)
commitba56cbdf3eca69ec26b8af00c45546499b0d8d9e
treea019b42b07c3a060bc63ccaf79564ffa00173c95
parentc41c4c0b9666f8fe9a4b339551868095485f0f04
dwc_eth_qos: fix missing clk_disable_unprepare() on error in dwceqos_probe()

Fix missing clk_disable_unprepare() call before return
from dwceqos_probe() in the error handling case of invalid
fixed-link.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/synopsys/dwc_eth_qos.c