Skip to content

Commit d13a8f6

Browse files
tititiou36tiwai
authored andcommitted
ALSA: Fix some typo
Some comments and include guards are not consistent with the name of the file where they can be found. This is likely some typo or cut'n'paste issues. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/7b2bcbda298f02a34d46d8b6593daaaed9a09a45.1638602790.git.christophe.jaillet@wanadoo.fr Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 1e583ae commit d13a8f6

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

sound/pci/ac97/ac97_pcm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ static int set_spdif_rate(struct snd_ac97 *ac97, unsigned short rate)
231231
* If the codec doesn't support VAR, the rate must be 48000 (except
232232
* for SPDIF).
233233
*
234-
* The valid registers are AC97_PMC_MIC_ADC_RATE,
234+
* The valid registers are AC97_PCM_MIC_ADC_RATE,
235235
* AC97_PCM_FRONT_DAC_RATE, AC97_PCM_LR_ADC_RATE.
236236
* AC97_PCM_SURR_DAC_RATE and AC97_PCM_LFE_DAC_RATE are accepted
237237
* if the codec supports them.

sound/pci/hda/hda_generic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ struct hda_gen_spec {
183183
struct automic_entry am_entry[MAX_AUTO_MIC_PINS];
184184

185185
/* for pin sensing */
186-
/* current status; set in hda_geneic.c */
186+
/* current status; set in hda_generic.c */
187187
unsigned int hp_jack_present:1;
188188
unsigned int line_jack_present:1;
189189
unsigned int speaker_muted:1; /* current status of speaker mute */

sound/soc/codecs/sta350.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#ifndef _ASOC_STA_350_H
1515
#define _ASOC_STA_350_H
1616

17-
/* STA50 register addresses */
17+
/* STA350 register addresses */
1818

1919
#define STA350_REGISTER_COUNT 0x4D
2020
#define STA350_COEF_COUNT 62

sound/soc/codecs/tlv320aic26.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* Copyright (C) 2008 Secret Lab Technologies Ltd.
77
*/
88

9-
#ifndef _TLV320AIC16_H_
10-
#define _TLV320AIC16_H_
9+
#ifndef _TLV320AIC26_H_
10+
#define _TLV320AIC26_H_
1111

1212
/* AIC26 Registers */
1313
#define AIC26_PAGE_ADDR(page, offset) ((page << 11) | offset << 5)
@@ -88,4 +88,4 @@ enum aic26_wlen {
8888
AIC26_WLEN_32 = 3 << 10,
8989
};
9090

91-
#endif /* _TLV320AIC16_H_ */
91+
#endif /* _TLV320AIC26_H_ */

sound/usb/usx2y/usbusx2y.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0-or-later
22
/*
3-
* usbusy2y.c - ALSA USB US-428 Driver
3+
* usbusx2y.c - ALSA USB US-428 Driver
44
*
55
2005-04-14 Karsten Wiese
66
Version 0.8.7.2:

0 commit comments

Comments
 (0)