]> 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)
commit8963b600a4418567402b437c4a5d83e56935f45c
treea019b42b07c3a060bc63ccaf79564ffa00173c95
parent250072f1fd7e7b5afcaa8877663407aef6681a5c
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