[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201228124923.618767109@linuxfoundation.org>
Date: Mon, 28 Dec 2020 13:46:38 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
stable@...r.kernel.org, Felipe Balbi <balbi@...nel.org>,
"taehyun.cho" <taehyun.cho@...sung.com>,
Will McVicker <willmcvicker@...gle.com>,
Peter Chen <peter.chen@....com>
Subject: [PATCH 4.19 079/346] USB: gadget: f_acm: add support for SuperSpeed Plus
From: taehyun.cho <taehyun.cho@...sung.com>
commit 3ee05c20656782387aa9eb010fdb9bb16982ac3f upstream.
Setup the SuperSpeed Plus descriptors for f_acm. This allows the gadget
to work properly without crashing at SuperSpeed rates.
Cc: Felipe Balbi <balbi@...nel.org>
Cc: stable <stable@...r.kernel.org>
Signed-off-by: taehyun.cho <taehyun.cho@...sung.com>
Signed-off-by: Will McVicker <willmcvicker@...gle.com>
Reviewed-by: Peter Chen <peter.chen@....com>
Link: https://lore.kernel.org/r/20201127140559.381351-3-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
---
drivers/usb/gadget/function/f_acm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/usb/gadget/function/f_acm.c
+++ b/drivers/usb/gadget/function/f_acm.c
@@ -684,7 +684,7 @@ acm_bind(struct usb_configuration *c, st
acm_ss_out_desc.bEndpointAddress = acm_fs_out_desc.bEndpointAddress;
status = usb_assign_descriptors(f, acm_fs_function, acm_hs_function,
- acm_ss_function, NULL);
+ acm_ss_function, acm_ss_function);
if (status)
goto fail;
Powered by blists - more mailing lists