From: Ming Lei Date: Tue, 19 Jun 2012 21:15:52 +0000 (+0000) Subject: usbnet: decrease suspend count if returning -EBUSY for runtime suspend X-Git-Tag: v3.5-rc5~17^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eeb3132eb4c5e9ca92e5247fe4575fe9f8c3efe;p=pandora-kernel.git usbnet: decrease suspend count if returning -EBUSY for runtime suspend This patch decreases dev->suspend_count in the -EBUSY failure path of usbnet_suspend. Without the change, the later runtime suspend will do nothing except for increasing dev->suspend_count. Signed-off-by: Ming Lei Acked-by: Oliver Neukum Signed-off-by: David S. Miller --- Reading git-diff-tree failed