commit | 3b9f7d8cdb6db2b6ba78c149dacec3d72591c544 | [log] [tgz] |
---|---|---|
author | Steve Glendinning <steve.glendinning@shawell.net> | Fri Nov 30 05:55:49 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 30 12:27:20 2012 -0500 |
tree | 8ca72360b184ba56f9d65de6caaef005735eb999 | |
parent | eed9a72914a2b2737a0d91b80579f878999574ef [diff] |
smsc95xx: fix error handling in suspend failure case This patch ensures that if we fail to suspend the LAN9500 device we call usbnet_resume before returning failure, instead of leaving the usbnet driver in an unusable state. Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net> Signed-off-by: David S. Miller <davem@davemloft.net>