mirror-linux/drivers/usb/gadget/function
Takashi Iwai 116e79c679 usb: gadget: midi2: Fix MIDI2 IN EP max packet size
The EP-IN of MIDI2 (altset 1) wasn't initialized in
f_midi2_create_usb_configs() as it's an INT EP unlike others BULK
EPs.  But this leaves rather the max packet size unchanged no matter
which speed is used, resulting in the very slow access.
And the wMaxPacketSize values set there look legit for INT EPs, so
let's initialize the MIDI2 EP-IN there for achieving the equivalent
speed as well.

Fixes: 8b645922b2 ("usb: gadget: Add support for USB MIDI 2.0 function driver")
Cc: stable <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20250905133240.20966-1-tiwai@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-09-06 15:30:47 +02:00
..
Makefile
f_acm.c
f_ecm.c usb: gadget: f_ecm: Add get_status callback 2025-05-01 17:38:41 +02:00
f_eem.c
f_fs.c USB / Thunderbolt changes for 6.17-rc1 2025-07-29 10:17:10 -07:00
f_hid.c USB: gadget: f_hid: Fix memory leak in hidg_bind error path 2025-07-07 11:03:33 +02:00
f_loopback.c
f_mass_storage.c
f_mass_storage.h USB: gadget: fix up const issue with struct usb_function_instance 2025-05-23 12:31:34 +02:00
f_midi.c
f_midi2.c usb: gadget: midi2: Fix MIDI2 IN EP max packet size 2025-09-06 15:30:47 +02:00
f_ncm.c
f_obex.c
f_phonet.c
f_printer.c
f_rndis.c
f_serial.c usb: gadget: u_serial: Implement remote wakeup capability 2025-04-25 13:42:04 +02:00
f_sourcesink.c
f_subset.c
f_tcm.c usb: potential integer overflow in usbg_make_tpg() 2025-04-15 14:29:33 +02:00
f_uac1.c usb: gadget: f_uac1: replace scnprintf() with sysfs_emit() 2025-07-21 16:31:28 +02:00
f_uac1_legacy.c
f_uac2.c usb: gadget: f_uac2: replace scnprintf() with sysfs_emit() 2025-07-07 11:05:30 +02:00
f_uvc.c
f_uvc.h
g_zero.h
ndis.h
rndis.c
rndis.h
storage_common.c
storage_common.h
tcm.h
u_audio.c
u_audio.h
u_ecm.h
u_eem.h
u_ether.c
u_ether.h
u_ether_configfs.h
u_fs.h
u_gether.h
u_hid.h usb: gadget: hid: allow dynamic interval configuration via configfs 2025-05-01 17:30:48 +02:00
u_midi.h
u_midi2.h
u_ncm.h
u_phonet.h
u_printer.h
u_rndis.h
u_serial.c Merge merge point of tag 'usb-6.16-rc5' into usb-next 2025-07-05 07:52:33 +02:00
u_serial.h
u_tcm.h
u_uac1.h
u_uac1_legacy.c
u_uac1_legacy.h
u_uac2.h
u_uvc.h
uac_common.h
uvc.h
uvc_configfs.c usb: gadget: uvc: Initialize frame-based format color matching descriptor 2025-07-21 16:30:00 +02:00
uvc_configfs.h usb: gadget: uvc: Avoid -Wflex-array-member-not-at-end warnings 2025-04-11 16:08:33 +02:00
uvc_queue.c
uvc_queue.h
uvc_trace.c
uvc_trace.h
uvc_v4l2.c
uvc_v4l2.h
uvc_video.c
uvc_video.h