]> git.kernelconcepts.de Git - karo-tx-linux.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)
commita6acf689328d7d4e63a66c8296f988ad8dc15752
treea019b42b07c3a060bc63ccaf79564ffa00173c95
parent379672deb2dcb567e2a425a816bede8df476ae4e
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