From 4464962caf29e87d7dd50dce71355baa96206b54 Mon Sep 17 00:00:00 2001 From: Hongseock Kim Date: Mon, 17 Mar 2025 17:21:27 +0900 Subject: [PATCH] Revert "ANDROID: usb: Optimization the transfer rate of accessory mode in USB3.2 mode" This reverts commit 483aad0150f55fbb0a1d2c39e6123d2cef101a11. Reason for revert: CTS-accessary test fail (test not started) Bug: 404126975 Signed-off-by: Hongseock Kim Change-Id: I03e7cdf7396c9a3d42c2d923ff01af8e27c44b51 --- drivers/usb/gadget/function/android_f_accessory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/function/android_f_accessory.c b/drivers/usb/gadget/function/android_f_accessory.c index f1ab05a98149..0d096fa0a20b 100644 --- a/drivers/usb/gadget/function/android_f_accessory.c +++ b/drivers/usb/gadget/function/android_f_accessory.c @@ -157,7 +157,7 @@ static struct usb_ss_ep_comp_descriptor acc_superspeedplus_comp_desc = { /* the following 2 values can be tweaked if necessary */ .bMaxBurst = 6, - .bmAttributes = 16, + /* .bmAttributes = 0, */ }; static struct usb_endpoint_descriptor acc_superspeed_in_desc = { @@ -182,7 +182,7 @@ static struct usb_ss_ep_comp_descriptor acc_superspeed_comp_desc = { /* the following 2 values can be tweaked if necessary */ .bMaxBurst = 6, - .bmAttributes = 16, + /* .bmAttributes = 0, */ }; static struct usb_endpoint_descriptor acc_highspeed_in_desc = {