Skip to content

Commit ff630b6

Browse files
gushengxiantiwai
authored andcommitted
ALSA: usb-audio: fix spelling mistakes
Fix some spelling mistakes as follows: altenate ==> alternate compatbile ==> compatible perfoms ==> performs dont'register ==> don't register periodicaly ==> periodically arount ==> around Signed-off-by: gushengxian <gushengxian@yulong.com> Link: https://lore.kernel.org/r/20210705120052.665212-1-gushengxian507419@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent a07ebc7 commit ff630b6

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

sound/usb/card.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ struct audioformat {
1919
unsigned char iface; /* interface number */
2020
unsigned char altsetting; /* corresponding alternate setting */
2121
unsigned char ep_idx; /* endpoint array index */
22-
unsigned char altset_idx; /* array index of altenate setting */
22+
unsigned char altset_idx; /* array index of alternate setting */
2323
unsigned char attributes; /* corresponding attributes of cs endpoint */
2424
unsigned char endpoint; /* endpoint */
2525
unsigned char ep_attr; /* endpoint attributes */

sound/usb/endpoint.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ static bool endpoint_compatible(struct snd_usb_endpoint *ep,
645645
}
646646

647647
/*
648-
* Check whether the given fp and hw params are compatbile with the current
648+
* Check whether the given fp and hw params are compatible with the current
649649
* setup of the target EP for implicit feedback sync
650650
*/
651651
bool snd_usb_endpoint_compatible(struct snd_usb_audio *chip,
@@ -1245,7 +1245,7 @@ static int snd_usb_endpoint_set_params(struct snd_usb_audio *chip,
12451245
*
12461246
* This function sets up the EP to be fully usable state.
12471247
* It's called either from hw_params or prepare callback.
1248-
* The function checks need_setup flag, and perfoms nothing unless needed,
1248+
* The function checks need_setup flag, and performs nothing unless needed,
12491249
* so it's safe to call this multiple times.
12501250
*
12511251
* This returns zero if unchanged, 1 if the configuration has changed,

sound/usb/media.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ int snd_media_device_create(struct snd_usb_audio *chip,
285285
ret);
286286

287287
if (!media_devnode_is_registered(mdev->devnode)) {
288-
/* dont'register if snd_media_mixer_init() failed */
288+
/* don't register if snd_media_mixer_init() failed */
289289
if (ret)
290290
goto create_fail;
291291

sound/usb/mixer_s1810c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ snd_s1810c_send_ctl_packet(struct usb_device *dev, u32 a,
163163
}
164164

165165
/*
166-
* When opening Universal Control the program periodicaly
166+
* When opening Universal Control the program periodically
167167
* sends and receives state packets for syncinc state between
168168
* the device and the host.
169169
*

sound/usb/mixer_scarlett.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* Auto-detection via UAC2 is not feasible to properly discover the vast
2222
* majority of features. It's related to both Linux/ALSA's UAC2 as well as
2323
* Focusrite's implementation of it. Eventually quirks may be sufficient but
24-
* right now it's a major headache to work arount these things.
24+
* right now it's a major headache to work around these things.
2525
*
2626
* NB. Neither the OSX nor the win driver provided by Focusrite performs
2727
* discovery, they seem to operate the same as this driver.

0 commit comments

Comments
 (0)