usb: gadget: unconditionally allocate hs/ss descriptor in bind operation
Take f_midi_bind() for example, when composite layer call it, it will allocate hs descriptor by calling gadget_is_dualspeed() API to check gadget max support speed capability, but most other gadget function didn't do like this. To follow other function drivers, it is safe to remove the check which mean support all possible link speed by default in function driver. Similar change apply to midi2 and uvc. Also in midi and midi2, as there is no descriptor difference between super speed and super speed plus, follow other gadget function drivers, do not allocate descriptor for super speed plus, composite layer will handle it properly. Signed-off-by:Linyu Yuan <quic_linyyuan@quicinc.com> Link: https://lore.kernel.org/r/20230803091053.9714-5-quic_linyyuan@quicinc.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
-
mentioned in commit ae71397d
-
mentioned in commit 575177ce
-
mentioned in commit b96dd1b8
-
mentioned in commit ac006c82
-
mentioned in commit c4dc44e2
-
mentioned in commit 4fa560ec
-
mentioned in commit f73e17fa
-
mentioned in commit 3418b698
-
mentioned in commit 5724adb6
-
mentioned in commit beb5e2dd
-
mentioned in commit 5eae0b88
-
mentioned in commit eee630e6
-
mentioned in commit b00028b8
-
mentioned in commit df15bb14
-
mentioned in commit f4357ac5
-
mentioned in commit bfdb4d2a
-
mentioned in commit e90e4293
-
mentioned in commit 3191657f
-
mentioned in commit 76dcfb46
-
mentioned in commit 1702ffa7
-
mentioned in commit dca0efe5
-
mentioned in commit 70f42303
-
mentioned in commit 23fc884c
-
mentioned in commit 8f7cf8de
-
mentioned in commit bb0173a1
Please sign in to comment