commit | c5e4ddbdfa1134a36589c1466ed4abb85fe6f976 | [log] [tgz] |
---|---|---|
author | Chen-Yu Tsai <wens@csie.org> | Fri Jan 17 21:24:41 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 19 20:02:02 2014 -0800 |
tree | 908c42eb77eb07e110352b4f26210fffe201760a | |
parent | 62866e98737e77c87f9dec99edea76ab54360770 [diff] |
net: stmmac: Add support for optional reset control The DWMAC has a reset assert line, which is used on some SoCs. Add an optional reset control to stmmac driver core. To support reset control deferred probing, this patch changes the driver probe function to return the actual error, instead of just -EINVAL. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: David S. Miller <davem@davemloft.net>