Skip to content

Commit

Permalink
ALSA: ump: Correct snd_ump_midi1_msg_program definition
Browse files Browse the repository at this point in the history
The #endif is placed obviously at a wrong position, which caused a
build error on the big endian machine.

Fixes: 0b5288f ("ALSA: ump: Add legacy raw MIDI support")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20230524135448.3ecad334@canb.auug.org.au
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Stephen Rothwell authored and Takashi Iwai committed May 24, 2023
1 parent 6b39e30 commit dafb82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sound/ump_msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,13 @@ struct snd_ump_midi1_msg_program {
u32 program:8;
u32 reserved:8;
#else
#endif
u32 reserved:8;
u32 program:8;
u32 channel:4;
u32 status:4;
u32 group:4;
u32 type:4;
#endif
} __packed;

/* MIDI 1.0 Channel Pressure (32bit) */
Expand Down

0 comments on commit dafb82e

Please sign in to comment.