stmmac: fix open funct when exit on error
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Sun, 10 Apr 2011 23:16:45 +0000 (23:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2011 19:55:47 +0000 (12:55 -0700)
This patch reviews the open function and fixes some
errors when exit with an error state.
It also moves the request_irq after core is initialized
when interrupts are properly masked.

Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Hacked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found