From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ming Lei Subject: [PATCH 0/7] USB: don't recover device if suspend fails in system sleep Date: Tue, 5 Mar 2013 12:01:36 +0800 Message-ID: <1362456103-24956-1-git-send-email-ming.lei@canonical.com> Return-path: Sender: netdev-owner@vger.kernel.org To: "David S. Miller" , Greg Kroah-Hartman , Jiri Kosina Cc: Alan Stern , Oliver Neukum , netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-input@vger.kernel.org List-Id: linux-input@vger.kernel.org Hi, This patch adds comments on interface driver suspend callback to emphasize that the failure return value is ignored by USB core in system sleep context, so do not try to recover device for this case, otherwise the URB traffic scheduled in recovery of failure path may cross system sleep, and may cause problems. Also fixes the USB serial, HID and several usbnet drivers which may recover device in suspend failure path of system sleep. Thanks, -- Ming Lei