From: Felipe Balbi <balbi@kernel.org>
To: Thinh Nguyen <Thinh.Nguyen@synopsys.com>Thinh Nguyen
<Thinh.Nguyen@synopsys.com>,
linux-usb@vger.kernel.org
Cc: John Youn <John.Youn@synopsys.com>, stable@vger.kernel.org
Subject: [v2,2/2] usb: dwc3: ep0: Reset TRB counter for ep0 IN
Date: Thu, 11 Jan 2018 10:16:32 +0200 [thread overview]
Message-ID: <87lgh4yfmn.fsf@linux.intel.com> (raw)
Hi,
Thinh Nguyen <Thinh.Nguyen@synopsys.com> writes:
> In control read transfer completion handler, the driver needs to reset
> the TRB enqueue counter. Since there is one control endpoint structure
> for each direction, we must also track the TRB enqueue counter for each
> direction. Currently the driver only resets the TRB counter for control
> OUT endpoint only. Check for the data direction and properly reset the
> TRB counter from correct control endpoint.
>
> Cc: stable@vger.kernel.org
> Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
missing Fixes tag
WARNING: multiple messages have this Message-ID (diff)
From: Felipe Balbi <balbi@kernel.org>
To: Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
linux-usb@vger.kernel.org
Cc: John Youn <John.Youn@synopsys.com>, stable@vger.kernel.org
Subject: Re: [PATCH v2 2/2] usb: dwc3: ep0: Reset TRB counter for ep0 IN
Date: Thu, 11 Jan 2018 10:16:32 +0200 [thread overview]
Message-ID: <87lgh4yfmn.fsf@linux.intel.com> (raw)
In-Reply-To: <729e3a1cebface055f5fb88c2da8c5f1ee0e4786.1515618112.git.thinhn@synopsys.com>
[-- Attachment #1: Type: text/plain, Size: 598 bytes --]
Hi,
Thinh Nguyen <Thinh.Nguyen@synopsys.com> writes:
> In control read transfer completion handler, the driver needs to reset
> the TRB enqueue counter. Since there is one control endpoint structure
> for each direction, we must also track the TRB enqueue counter for each
> direction. Currently the driver only resets the TRB counter for control
> OUT endpoint only. Check for the data direction and properly reset the
> TRB counter from correct control endpoint.
>
> Cc: stable@vger.kernel.org
> Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
missing Fixes tag
--
balbi
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next reply other threads:[~2018-01-11 8:16 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-11 8:16 Felipe Balbi [this message]
2018-01-11 8:16 ` [PATCH v2 2/2] usb: dwc3: ep0: Reset TRB counter for ep0 IN Felipe Balbi
-- strict thread matches above, loose matches on Subject: below --
2018-01-12 8:25 [v2,1/2] usb: dwc3: gadget: Set maxpacket size " Felipe Balbi
2018-01-12 8:25 ` [PATCH v2 1/2] " Felipe Balbi
2018-01-11 20:57 [v2,2/2] usb: dwc3: ep0: Reset TRB counter " Thinh Nguyen
2018-01-11 20:57 ` [PATCH v2 2/2] " Thinh Nguyen
2018-01-11 19:57 [v2,1/2] usb: dwc3: gadget: Set maxpacket size " Thinh Nguyen
2018-01-11 19:57 ` [PATCH v2 1/2] " Thinh Nguyen
2018-01-11 8:16 [v2,1/2] " Felipe Balbi
2018-01-11 8:16 ` [PATCH v2 1/2] " Felipe Balbi
2018-01-10 21:11 [v2,2/2] usb: dwc3: ep0: Reset TRB counter " Thinh Nguyen
2018-01-10 21:11 ` [PATCH v2 2/2] " Thinh Nguyen
2018-01-10 21:11 [v2,1/2] usb: dwc3: gadget: Set maxpacket size " Thinh Nguyen
2018-01-10 21:11 ` [PATCH v2 1/2] " Thinh Nguyen
2018-01-10 21:10 [PATCH v2 0/2] usb: dwc3: Properly update ep0 for IN direction 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=87lgh4yfmn.fsf@linux.intel.com \
--to=balbi@kernel.org \
--cc=John.Youn@synopsys.com \
--cc=Thinh.Nguyen@synopsys.com \
--cc=stable@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 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.