From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Subject: Re: [PATCH -v1 2/3] usbnet: decrease suspend count if returning -EBUSY for runtime suspend Date: Wed, 20 Jun 2012 09:45:31 +0200 Message-ID: <201206200945.31939.oneukum@suse.de> References: <1340176553-32225-1-git-send-email-ming.lei@canonical.com> <1340176553-32225-3-git-send-email-ming.lei@canonical.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Cc: "David S. Miller" , "Greg Kroah-Hartman" , netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ming Lei Return-path: In-Reply-To: <1340176553-32225-3-git-send-email-ming.lei-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org Am Mittwoch, 20. Juni 2012, 09:15:52 schrieb Ming Lei: > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html