Skip to content

Commit dd33993

Browse files
committed
ALSA: ump: Fix a typo of snd_ump_stream_msg_device_info
s/devince/device/ It's used only internally, so no any behavior changes. Fixes: 37e0e14 ("ALSA: ump: Support UMP Endpoint and Function Block parsing") Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://patch.msgid.link/20250511141147.10246-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 1f93d87 commit dd33993

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/usb/gadget/function/f_midi2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ static void reply_ump_stream_ep_info(struct f_midi2_ep *ep)
475475
/* reply a UMP EP device info */
476476
static void reply_ump_stream_ep_device(struct f_midi2_ep *ep)
477477
{
478-
struct snd_ump_stream_msg_devince_info rep = {
478+
struct snd_ump_stream_msg_device_info rep = {
479479
.type = UMP_MSG_TYPE_STREAM,
480480
.status = UMP_STREAM_MSG_STATUS_DEVICE_INFO,
481481
.manufacture_id = ep->info.manufacturer,

include/sound/ump_msg.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ struct snd_ump_stream_msg_ep_info {
604604
} __packed;
605605

606606
/* UMP Stream Message: Device Info Notification (128bit) */
607-
struct snd_ump_stream_msg_devince_info {
607+
struct snd_ump_stream_msg_device_info {
608608
#ifdef __BIG_ENDIAN_BITFIELD
609609
/* 0 */
610610
u32 type:4;
@@ -754,7 +754,7 @@ struct snd_ump_stream_msg_fb_name {
754754
union snd_ump_stream_msg {
755755
struct snd_ump_stream_msg_ep_discovery ep_discovery;
756756
struct snd_ump_stream_msg_ep_info ep_info;
757-
struct snd_ump_stream_msg_devince_info device_info;
757+
struct snd_ump_stream_msg_device_info device_info;
758758
struct snd_ump_stream_msg_stream_cfg stream_cfg;
759759
struct snd_ump_stream_msg_fb_discovery fb_discovery;
760760
struct snd_ump_stream_msg_fb_info fb_info;

0 commit comments

Comments
 (0)