All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <felipe.balbi@linux.intel.com>
To: Thinh Nguyen <thinh.nguyen@synopsys.com>,
	Linux USB <linux-usb@vger.kernel.org>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Subject: [2/8] usb: dwc3: gadget: combine unaligned and zero flags
Date: Tue, 06 Nov 2018 09:30:35 +0200	[thread overview]
Message-ID: <87o9b2vf1g.fsf@linux.intel.com> (raw)

Hi,

Thinh Nguyen <thinh.nguyen@synopsys.com> writes:
> @@ -2250,7 +2250,7 @@ static int dwc3_gadget_ep_reclaim_completed_trb(struct dwc3_ep *dep,
>>  	 * with one TRB pending in the ring. We need to manually clear HWO bit
>>  	 * from that TRB.
>>  	 */
>> -	if ((req->zero || req->unaligned) && !(trb->ctrl & DWC3_TRB_CTRL_CHN)) {
>> +	if (req->needs_extra_trb && !(trb->ctrl & DWC3_TRB_CTRL_CNH)) {
>
> DWC3_TRB_CTRL_CNH -> DWC3_TRB_CTRL_CHN

right, fixed locally.

             reply	other threads:[~2018-11-06  7:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-06  7:30 Felipe Balbi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-11-05 19:34 [2/8] usb: dwc3: gadget: combine unaligned and zero flags Thinh Nguyen
2018-11-05  7:11 Felipe Balbi

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=87o9b2vf1g.fsf@linux.intel.com \
    --to=felipe.balbi@linux.intel.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=thinh.nguyen@synopsys.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.