diff options
| author | Takashi Iwai <[email protected]> | 2025-09-04 15:39:24 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-09-06 13:30:33 +0000 |
| commit | 21d8525d2e061cde034277d518411b02eac764e2 (patch) | |
| tree | a072a1ae8e6da8f0fdc68f0c130eebb894ec20f7 /scripts/kernel-doc.py | |
| parent | usb: typec: tcpm: properly deliver cable vdms to altmode drivers (diff) | |
| download | kernel-21d8525d2e061cde034277d518411b02eac764e2.tar.gz kernel-21d8525d2e061cde034277d518411b02eac764e2.zip | |
usb: gadget: midi2: Fix missing UMP group attributes initialization
The gadget card driver forgot to call snd_ump_update_group_attrs()
after adding FBs, and this leaves the UMP group attributes
uninitialized. As a result, -ENODEV error is returned at opening a
legacy rawmidi device as an inactive group.
This patch adds the missing call to address the behavior above.
Fixes: 8b645922b223 ("usb: gadget: Add support for USB MIDI 2.0 function driver")
Cc: stable <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/kernel-doc.py')
0 files changed, 0 insertions, 0 deletions
