]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Add missing annotations in usb-dwc3-gadget-fix-handling-zlp.patch
authorSasha Levin <sashal@kernel.org>
Tue, 1 Sep 2020 02:27:59 +0000 (22:27 -0400)
committerSasha Levin <sashal@kernel.org>
Tue, 1 Sep 2020 02:27:59 +0000 (22:27 -0400)
Signed-off-by: Sasha Levin <sashal@kernel.org>
queue-4.19/usb-dwc3-gadget-fix-handling-zlp.patch
queue-5.4/usb-dwc3-gadget-fix-handling-zlp.patch

index 25422c7632f710e44c8343f41f3c96421998e63f..bf57d254e53b53947d0b0ae09eb34715ff251b73 100644 (file)
@@ -5,6 +5,8 @@ Subject: usb: dwc3: gadget: Fix handling ZLP
 
 From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
 
+[ Upstream commit d2ee3ff79e6a3d4105e684021017d100524dc560 ]
+
 The usb_request->zero doesn't apply for isoc. Also, if we prepare a
 0-length (ZLP) TRB for the OUT direction, we need to prepare an extra
 TRB to pad up to the MPS alignment. Use the same bounce buffer for the
@@ -15,6 +17,7 @@ Fixes: d6e5a549cc4d ("usb: dwc3: simplify ZLP handling")
 Fixes: 04c03d10e507 ("usb: dwc3: gadget: handle request->zero")
 Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
 Signed-off-by: Felipe Balbi <balbi@kernel.org>
+Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
  drivers/usb/dwc3/gadget.c | 24 ++++++++++++++++++++++--
  1 file changed, 22 insertions(+), 2 deletions(-)
index 6c16b61bcc98e906aa3caabd39722c453cf8bf2d..fc6acb1dee95546e328652e8868dd2552e685f60 100644 (file)
@@ -5,6 +5,8 @@ Subject: usb: dwc3: gadget: Fix handling ZLP
 
 From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
 
+[ Upstream commit d2ee3ff79e6a3d4105e684021017d100524dc560 ]
+
 The usb_request->zero doesn't apply for isoc. Also, if we prepare a
 0-length (ZLP) TRB for the OUT direction, we need to prepare an extra
 TRB to pad up to the MPS alignment. Use the same bounce buffer for the
@@ -15,6 +17,7 @@ Fixes: d6e5a549cc4d ("usb: dwc3: simplify ZLP handling")
 Fixes: 04c03d10e507 ("usb: dwc3: gadget: handle request->zero")
 Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
 Signed-off-by: Felipe Balbi <balbi@kernel.org>
+Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
  drivers/usb/dwc3/gadget.c | 24 ++++++++++++++++++++++--
  1 file changed, 22 insertions(+), 2 deletions(-)