git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06a31e2
)
smsc75xx: don't call usbnet_resume if usbnet_suspend fails
author
Steve Glendinning
<steve.glendinning@shawell.net>
Fri, 30 Nov 2012 04:52:43 +0000
(
04:52
+0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 30 Nov 2012 17:27:20 +0000
(12:27 -0500)
If usbnet_suspend returns an error we don't want to call
usbnet_resume to clean up, but instead just return the error.
If usbnet_suspend *does* succeed, and we have a problem further
on, the desired behaviour is still to call usbnet_resume
to clean up before returning.
Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found