ALSA: ump: Fix a typo of snd_ump_stream_msg_device_info
authorTakashi Iwai <tiwai@suse.de>
Sun, 11 May 2025 14:11:45 +0000 (16:11 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 11 May 2025 14:27:55 +0000 (16:27 +0200)
s/devince/device/

It's used only internally, so no any behavior changes.

Fixes: 37e0e14128e0 ("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>
drivers/usb/gadget/function/f_midi2.c
include/sound/ump_msg.h

index 12e866fb311d63dcef2a1adc8fc313006f3537a9..0a800ba53816a8c82f6d66fd759f160f4351272a 100644 (file)
@@ -475,7 +475,7 @@ static void reply_ump_stream_ep_info(struct f_midi2_ep *ep)
 /* reply a UMP EP device info */
 static void reply_ump_stream_ep_device(struct f_midi2_ep *ep)
 {
-       struct snd_ump_stream_msg_devince_info rep = {
+       struct snd_ump_stream_msg_device_info rep = {
                .type = UMP_MSG_TYPE_STREAM,
                .status = UMP_STREAM_MSG_STATUS_DEVICE_INFO,
                .manufacture_id = ep->info.manufacturer,
index 72f60ddfea7535989b0a32ad2c0bf8c772765b07..9556b4755a1ed89a5a4dc4701cdfc0557ea77076 100644 (file)
@@ -604,7 +604,7 @@ struct snd_ump_stream_msg_ep_info {
 } __packed;
 
 /* UMP Stream Message: Device Info Notification (128bit) */
-struct snd_ump_stream_msg_devince_info {
+struct snd_ump_stream_msg_device_info {
 #ifdef __BIG_ENDIAN_BITFIELD
        /* 0 */
        u32 type:4;
@@ -754,7 +754,7 @@ struct snd_ump_stream_msg_fb_name {
 union snd_ump_stream_msg {
        struct snd_ump_stream_msg_ep_discovery ep_discovery;
        struct snd_ump_stream_msg_ep_info ep_info;
-       struct snd_ump_stream_msg_devince_info device_info;
+       struct snd_ump_stream_msg_device_info device_info;
        struct snd_ump_stream_msg_stream_cfg stream_cfg;
        struct snd_ump_stream_msg_fb_discovery fb_discovery;
        struct snd_ump_stream_msg_fb_info fb_info;