summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorAlexander Tsoy <alexander@tsoy.me>2024-01-26 00:16:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-27 16:53:38 -0800
commit4ca79255101b9edd6ac874d39361fd2b52927af0 (patch)
tree77895f5caf106dceb5876dc5768734ab8d28daff /include/linux/usb
parent44481a0103443e465ea562b3d5f908051bfa932a (diff)
downloadlinux-stable-4ca79255101b9edd6ac874d39361fd2b52927af0.tar.gz
linux-stable-4ca79255101b9edd6ac874d39361fd2b52927af0.tar.bz2
linux-stable-4ca79255101b9edd6ac874d39361fd2b52927af0.zip
usb: audio-v2: Correct comments for struct uac_clock_selector_descriptor
This is likely a copy-paste error. Replace "Source" with "Selector" where appropriate. Fixes: 7e847894039d7 ("linux/usb/audio.h: split header") Signed-off-by: Alexander Tsoy <alexander@tsoy.me> Link: https://lore.kernel.org/r/20240125211635.30140-1-alexander@tsoy.me Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/audio-v2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/usb/audio-v2.h b/include/linux/usb/audio-v2.h
index ca796dc1a984..6e5555610010 100644
--- a/include/linux/usb/audio-v2.h
+++ b/include/linux/usb/audio-v2.h
@@ -82,7 +82,7 @@ struct uac_clock_source_descriptor {
#define UAC_CLOCK_SOURCE_TYPE_INT_PROG 0x3
#define UAC_CLOCK_SOURCE_SYNCED_TO_SOF (1 << 2)
-/* 4.7.2.2 Clock Source Descriptor */
+/* 4.7.2.2 Clock Selector Descriptor */
struct uac_clock_selector_descriptor {
__u8 bLength;
@@ -91,7 +91,7 @@ struct uac_clock_selector_descriptor {
__u8 bClockID;
__u8 bNrInPins;
__u8 baCSourceID[];
- /* bmControls and iClockSource omitted */
+ /* bmControls and iClockSelector omitted */
} __attribute__((packed));
/* 4.7.2.3 Clock Multiplier Descriptor */