From: Ming Lei Date: Fri, 22 Feb 2013 03:05:03 +0000 (+0000) Subject: usbnet: smsc95xx: fix suspend failure X-Git-Tag: v3.9-rc1~70^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7643721471117d5f62ca36f328d3dc8d84af4402;p=pandora-kernel.git usbnet: smsc95xx: fix suspend failure The three below functions: smsc95xx_enter_suspend0() smsc95xx_enter_suspend1() smsc95xx_enter_suspend2() return > 0 in case of success, so they will cause smsc95xx_suspend() to return > 0 and cause suspend failure. The bug is introduced in commit 3b9f7d(smsc95xx: fix error handling in suspend failure case). Cc: [3.8] Cc: Steve Glendinning Signed-off-by: Ming Lei Signed-off-by: David S. Miller --- Reading git-diff-tree failed