linux_dsm_epyc7002/drivers/net/ethernet/nxp
Fabio Estevam 53080fe9c4 net: lpc_eth: Check clk_prepare_enable() error
clk_prepare_enable() may fail, so we should better check its return
value and propagate it in the case of failure

While at it, replace __lpc_eth_clock_enable() with a plain
clk_prepare_enable/clk_disable_unprepare() call in order to
simplify the code.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-08-23 17:10:16 -07:00
..
Kconfig lpc32xx: Added ethernet driver 2012-03-12 17:08:34 -07:00
lpc_eth.c net: lpc_eth: Check clk_prepare_enable() error 2016-08-23 17:10:16 -07:00
Makefile lpc32xx: Added ethernet driver 2012-03-12 17:08:34 -07:00