Return-Path: Date: Fri, 5 Sep 2014 10:56:27 +0300 From: Johan Hedberg To: =?utf-8?B?6ZmI6Imz6JCN?= Cc: Larry Finger , Daniel Drake , Marcel Holtmann , "Gustavo F. Padovan" , Linux Bluetooth mailing list , =?utf-8?B?6K645Yev5Yev?= Subject: Re: =?utf-8?B?562U5aSNOiDnrZTlpI06IOetlA==?= =?utf-8?B?5aSN?= =?utf-8?Q?=3A?= [PATCH v2] Bluetooth: btusb: Add Realtek 8723/8761 support Message-ID: <20140905075627.GA8504@t440s> References: <53B2D160.4010306@lwfinger.net> <54F70642BAB21D4498E1AA3EFE3D519A45FBED07@rsex2.realsil.com.cn> <54F70642BAB21D4498E1AA3EFE3D519A45FBF299@rsex2.realsil.com.cn> <54F70642BAB21D4498E1AA3EFE3D519A46010A1B@rsex2.realsil.com.cn> <54089665.1040302@lwfinger.net> <54F70642BAB21D4498E1AA3EFE3D519A460112CB@rsex2.realsil.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: <54F70642BAB21D4498E1AA3EFE3D519A460112CB@rsex2.realsil.com.cn> List-ID: Hi Champion, On Fri, Sep 05, 2014, 陈艳萍 wrote: > We found there was chance suspend failed in some platform. > This is because btusb_suspend==> btusb_stop_traffic ==> usb_kill_anchored_urbs, > > btusb_bulk_complete sometimes returns before system suspend and > resubmit an urb, this will avoid system enter suspend state. > I don't know whether this is the platform issue, there is a method to > fix this by attached file. This looks like a potentially good fix for btusb, however could you please provide your patches in the format expected by upstream, i.e. what you get with proper commits/commit messages and then sending the patches using git format-patch and git send-email? The same applies for any other patches you have for upstream inclusion. You'll also want to ensure that the coding style is correct by reading Documentation/CodingStyle and running scripts/checkpatch.pl on your patches. Johan