]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 May 2025 12:12:16 +0000 (14:12 +0200)
[ Upstream commit dd33993a9721ab1dae38bd37c9f665987d554239 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/gadget/function/f_midi2.c
include/sound/ump_msg.h

index b7dada064890bd78d684093907cbe25d29b0f9a5..90536f47906c3359f6913ec000e74c7c0f14d4b2 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;