dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/net/ethernet/cadence
Devendra Naga 3cfc159010 at91ether: return PTR_ERR if call to clk_get fails
we are currently returning ENODEV, as the clk_get may give a exact
error code in its returned pointer, assign it to the ret by using the
PTR_ERR function, so that the subsequent goto label will jump to the
error path and clean the driver and return the error correctly.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-09-20 22:21:40 -04:00
..
Kconfig Merge branch 'mxs/saif' into next/drivers 2011-12-06 14:23:35 +00:00
Makefile
at91_ether.c at91ether: return PTR_ERR if call to clk_get fails 2012-09-20 22:21:40 -04:00
at91_ether.h AT91: Remove fixed mapping for AT91RM9200 ethernet 2012-04-28 21:48:37 -04:00
macb.c net/macb: manage carrier state with call to netif_carrier_{on|off}() 2012-07-09 00:03:06 -07:00
macb.h net/macb: add DT support for Cadence macb/gem driver 2011-12-16 13:11:00 +01:00