linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@kernel.org>
To: Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
	Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>
Cc: John Youn <John.Youn@synopsys.com>
Subject: Re: [PATCH v2 6/7] usb: dwc3: gadget: Rename misleading function names
Date: Thu, 24 Sep 2020 12:06:47 +0300	[thread overview]
Message-ID: <87sgb7czmg.fsf@kernel.org> (raw)
In-Reply-To: <87v9g3d095.fsf@kernel.org>

[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]


Hi,

Felipe Balbi <balbi@kernel.org> writes:

> Thinh Nguyen <Thinh.Nguyen@synopsys.com> writes:
>
>> Hi Felipe,
>>
>> Felipe Balbi wrote:
>>> Thinh Nguyen <Thinh.Nguyen@synopsys.com> writes:
>>>
>>>> The functions dwc3_prepare_one_trb_sg and dwc3_prepare_one_trb_linear
>>>> are not necessarily preparing "one" TRB, it can prepare multiple TRBs.
>>>> Rename these functions as follow:
>>>>
>>>> dwc3_prepare_one_trb_sg -> dwc3_prepare_trbs_sg
>>>> dwc3_prepare_one_trb_linear -> dwc3_prepare_trbs_linear
>>>>
>>>> Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
>>> Tried to apply on top of -rc6:
>>>
>>> checking file drivers/usb/dwc3/gadget.c
>>> Hunk #1 FAILED at 1161.
>>> Hunk #2 FAILED at 1231.
>>> Hunk #3 FAILED at 1266.
>>> Hunk #4 FAILED at 1294.
>>> 4 out of 4 hunks FAILED
>>>
>>
>> I'll rebase send out a new series with a bunch of fixes.
>>
>> Btw, the patches you just merged are not the latest:
>> usb: dwc3: gadget: Resume pending requests after CLEAR_STALL
>> usb: dwc3: gadget: END_TRANSFER before CLEAR_STALL command
>>
>> The latest are on your "testing/fixes" branch
>
> Argh, nice catch. I'll fix it shortly.

should be corrected now. Thanks

-- 
balbi

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 857 bytes --]

  reply	other threads:[~2020-09-24  9:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-07  2:46 [PATCH v2 0/7] usb: dwc3: gadget: Fix TRB preparation Thinh Nguyen
2020-08-07  2:46 ` [PATCH v2 1/7] usb: dwc3: gadget: Don't setup more than requested Thinh Nguyen
2020-08-07  2:46 ` [PATCH v2 2/7] usb: dwc3: gadget: Fix handling ZLP Thinh Nguyen
2020-08-07  2:46 ` [PATCH v2 3/7] usb: dwc3: gadget: Handle ZLP for sg requests Thinh Nguyen
2020-08-07  2:46 ` [PATCH v2 4/7] usb: dwc3: gadget: Refactor preparing TRBs Thinh Nguyen
2020-08-17 13:42   ` Felipe Balbi
2020-08-17 17:35     ` Thinh Nguyen
2020-08-07  2:46 ` [PATCH v2 5/7] usb: dwc3: gadget: Account for extra TRB Thinh Nguyen
2020-08-07  2:46 ` [PATCH v2 6/7] usb: dwc3: gadget: Rename misleading function names Thinh Nguyen
2020-09-24  7:47   ` Felipe Balbi
2020-09-24  7:54     ` Thinh Nguyen
2020-09-24  8:53       ` Felipe Balbi
2020-09-24  9:06         ` Felipe Balbi [this message]
2020-08-07  2:47 ` [PATCH v2 7/7] usb: dwc3: ep0: Skip ZLP setup for OUT Thinh Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sgb7czmg.fsf@kernel.org \
    --to=balbi@kernel.org \
    --cc=John.Youn@synopsys.com \
    --cc=Thinh.Nguyen@synopsys.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).