mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
FROMLIST: USB: gadget: f_acm: add support for SuperSpeed Plus
Setup the SuperSpeed Plus descriptors for f_acm. Bug: 170925797 Signed-off-by: taehyun.cho <taehyun.cho@samsung.com> Link: https://lore.kernel.org/r/20201126180937.255892-2-gregkh@linuxfoundation.org Change-Id: I40379059d4426a523912b1514a5e5f7575576807 (cherry picked from commit 00572be28ec474d7953f1b9dd681cc2dd290d9bf) [willmcvicker: only cherry-picked f_acm portion of original patch] Signed-off-by: Will McVicker <willmcvicker@google.com> (cherry picked from commit c0e20d957704dc9d804d497fcb877ea47b7d7534) Signed-off-by: Will McVicker <willmcvicker@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
32def97b7c
commit
bce5792769
@@ -686,7 +686,7 @@ acm_bind(struct usb_configuration *c, struct usb_function *f)
|
||||
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user