diff options
author | Steve Glendinning <steve.glendinning@shawell.net> | 2012-11-30 04:52:43 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-30 17:27:20 (GMT) |
commit | 2305c54ffc389f1e73f2b1122a4c75bb0e8e6601 (patch) | |
tree | 414cfe6e0d31e634ae47d27c7d2ad9445d7bbeaf /Documentation/w1 | |
parent | 06a31e2b918dd992dd104e082ec8a33d6235c7b3 (diff) | |
download | linux-fsl-qoriq-2305c54ffc389f1e73f2b1122a4c75bb0e8e6601.tar.xz |
smsc75xx: don't call usbnet_resume if usbnet_suspend fails
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>
Diffstat (limited to 'Documentation/w1')
0 files changed, 0 insertions, 0 deletions