aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2024-07-08 11:57:17 +0200
committerGreg Kroah-Hartman <[email protected]>2024-07-10 13:55:50 +0200
commit3eb27d3e32c78badbc4db6ae76614b5961e32291 (patch)
tree0097e12c62bdc2cab8e1b27f9f59d5280bde930e /lib/netdev-notifier-error-inject.c
parent179264157bbaf3d169b184160d0b5283f8a50e73 (diff)
usb: gadget: midi2: Fix incorrect default MIDI2 protocol setup
The MIDI2 gadget driver handled the default MIDI protocol version incorrectly due to the confusion of the protocol version passed via configfs (either 1 or 2) and UMP protocol bits (0x100 / 0x200). As a consequence, the default protocol always resulted in MIDI1. This patch addresses the misunderstanding of the protocol handling. Fixes: 29ee7a4dddd5 ("usb: gadget: midi2: Add configfs support") 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 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions