commit | eacdd6c223d699938c56e7c991877433454d3ebc | [log] [tgz] |
---|---|---|
author | Steve Glendinning <steve.glendinning@shawell.net> | Wed Nov 28 05:59:48 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 28 11:17:31 2012 -0500 |
tree | 8eef1e0f1350201d496b0761632a831ee1204c07 | |
parent | f329ccdc6cd9ef866045af7ccc5fa7d2a9a1f6bb [diff] |
smsc75xx: fix error handling in suspend failure case This patch ensures that if we fail to suspend the LAN7500 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>