diff options
author | Cristian Sovaiala <cristian.sovaiala@freescale.com> | 2014-04-18 13:01:25 (GMT) |
---|---|---|
committer | Madalin-Cristian Bucur <madalin.bucur@freescale.com> | 2014-04-24 07:19:47 (GMT) |
commit | 92c11b3278f0e8d7429f8794f62ae726ea6792a8 (patch) | |
tree | d42984fc95e3f5c5571f8a15f38ccfc832e3286b /COPYING | |
parent | 8cc211a153e11a11ecda4aeb7aa5514ac1af82f1 (diff) | |
download | linux-fsl-qoriq-92c11b3278f0e8d7429f8794f62ae726ea6792a8.tar.xz |
dpaa_eth: Cleaning up port suspend/resume error paths
Add goto labels and relevant error messages when RX/TX port
suspend/resume or set WoL fail.
Returning a != 0 value from suspend callback we trigger a
rollback of the suspend sequence.
In resume callback, in case RX port resume fails we suspend the
TX port and keep WoL disabled.
Change-Id: I330249c06525785d7045c627dcf218d031028857
Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/11367
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
(cherry picked from commit 56956b78e098c2ae9166bfe93efaaac97758c0cf)
Reviewed-on: http://git.am.freescale.net:8181/11437
Tested-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions