diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-06-05 16:49:20 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-06-05 16:50:04 +0200 |
commit | 1a764994102b150a3b9b965a33c76c2d11ff2f34 (patch) | |
tree | 67a1a29275059170408d86e64481defa02844469 /include | |
parent | ALSA: emu10k1: vastly improve usefulness of info in /proc (diff) | |
parent | ALSA: seq: Avoid confusion of aligned read size (diff) | |
download | linux-1a764994102b150a3b9b965a33c76c2d11ff2f34.tar.xz linux-1a764994102b150a3b9b965a33c76c2d11ff2f34.zip |
Merge branch 'topic/midi20' into for-next
Pull fixes for a couple of minor issues spotted by bots.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/midi-v2.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/usb/midi-v2.h b/include/linux/usb/midi-v2.h index ebbffcae0417..16f09d959a2d 100644 --- a/include/linux/usb/midi-v2.h +++ b/include/linux/usb/midi-v2.h @@ -73,7 +73,7 @@ struct usb_ms20_gr_trm_block_header_descriptor { __u8 bLength; /* 5 */ __u8 bDescriptorType; /* USB_DT_CS_GR_TRM_BLOCK */ __u8 bDescriptorSubtype; /* USB_MS_GR_TRM_BLOCK_HEADER */ - __u16 wTotalLength; /* Total number of bytes */ + __le16 wTotalLength; /* Total number of bytes */ } __packed; /* 5.4.2.1 Group Terminal Block Descriptor */ @@ -87,8 +87,8 @@ struct usb_ms20_gr_trm_block_descriptor { __u8 nNumGroupTrm; /* Number of member Group Terminals spanned */ __u8 iBlockItem; /* String ID of Block item */ __u8 bMIDIProtocol; /* Default MIDI protocol */ - __u16 wMaxInputBandwidth; /* Max input bandwidth capability in 4kB/s */ - __u16 wMaxOutputBandwidth; /* Max output bandwidth capability in 4kB/s */ + __le16 wMaxInputBandwidth; /* Max input bandwidth capability in 4kB/s */ + __le16 wMaxOutputBandwidth; /* Max output bandwidth capability in 4kB/s */ } __packed; #endif /* __LINUX_USB_MIDI_V2_H */ |