Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [PATCH V2] bluetooth: btusb: Fix issue with suspend From: Marcel Holtmann In-Reply-To: <1410030368-23289-1-git-send-email-Larry.Finger@lwfinger.net> Date: Mon, 8 Sep 2014 18:25:27 -0700 Cc: "Gustavo F. Padovan" , Johan Hedberg , BlueZ development , netdev@vger.kernel.org, Champion Chen Message-Id: References: <1410030368-23289-1-git-send-email-Larry.Finger@lwfinger.net> To: Larry Finger Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Larry, > Suspend could fail for some platforms because > btusb_suspend==> btusb_stop_traffic ==> usb_kill_anchored_urbs, > > When btusb_bulk_complete returns before system suspend and resubmits an urb, > the system cannot enter suspend state. > > Signed-off-by: Champion Chen > Signed-off-by: Larry Finger > --- > V2 - Fix incorrect test as noted by Marcel. > > --- > Johan, > > To help Champion with the process, I have formatted the patch in > the correct manner. I hope I understand the issue correctly and > stated it in a coherent manner in the commit message. > > Larry > --- > drivers/bluetooth/btusb.c | 9 +++++++++ > 1 file changed, 9 insertions(+) patch has been applied to bluetooth-next tree. Regards Marcel