aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-07-17 11:50:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-31 10:38:53 +0200
commit228a953e61d6d608a3facc1c3a27b9fb03c99de7 (patch)
tree7a7dca3f96f7471ee1e70e41cea4f071b9d4e0ab /lib/crypto/mpi/mpi-sub-ui.c
parent16d731890db94e23d5483402494ef378f2271ba1 (diff)
usb: gadget: midi2: Fix the response for FB info with block 0xff
When the block number 0xff is given to Function Block Discovery message, the device should return the information of all Function Blocks, but currently the gadget driver treats it as an error. Implement the proper behavior for the block 0xff instead. Fixes: 8b645922b223 ("usb: gadget: Add support for USB MIDI 2.0 function driver") Cc: stable@vger.kernel.org Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20240717095102.10493-1-tiwai@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions