OSDN Git Service

ALSA: Fix some typo
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 4 Dec 2021 07:28:40 +0000 (08:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 6 Dec 2021 09:04:05 +0000 (10:04 +0100)
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>
sound/pci/ac97/ac97_pcm.c
sound/pci/hda/hda_generic.h
sound/soc/codecs/sta350.h
sound/soc/codecs/tlv320aic26.h
sound/usb/usx2y/usbusx2y.c

index 491de1a..5fee8e8 100644 (file)
@@ -231,7 +231,7 @@ static int set_spdif_rate(struct snd_ac97 *ac97, unsigned short rate)
  * If the codec doesn't support VAR, the rate must be 48000 (except
  * for SPDIF).
  *
- * The valid registers are AC97_PMC_MIC_ADC_RATE,
+ * The valid registers are AC97_PCM_MIC_ADC_RATE,
  * AC97_PCM_FRONT_DAC_RATE, AC97_PCM_LR_ADC_RATE.
  * AC97_PCM_SURR_DAC_RATE and AC97_PCM_LFE_DAC_RATE are accepted
  * if the codec supports them.
index c43bd0f..8e1bc8e 100644 (file)
@@ -183,7 +183,7 @@ struct hda_gen_spec {
        struct automic_entry am_entry[MAX_AUTO_MIC_PINS];
 
        /* for pin sensing */
-       /* current status; set in hda_geneic.c */
+       /* current status; set in hda_generic.c */
        unsigned int hp_jack_present:1;
        unsigned int line_jack_present:1;
        unsigned int speaker_muted:1; /* current status of speaker mute */
index f16900e..80bf560 100644 (file)
@@ -14,7 +14,7 @@
 #ifndef _ASOC_STA_350_H
 #define _ASOC_STA_350_H
 
-/* STA50 register addresses */
+/* STA350 register addresses */
 
 #define STA350_REGISTER_COUNT  0x4D
 #define STA350_COEF_COUNT 62
index 1f2879b..c865698 100644 (file)
@@ -6,8 +6,8 @@
  * Copyright (C) 2008 Secret Lab Technologies Ltd.
  */
 
-#ifndef _TLV320AIC16_H_
-#define _TLV320AIC16_H_
+#ifndef _TLV320AIC26_H_
+#define _TLV320AIC26_H_
 
 /* AIC26 Registers */
 #define AIC26_PAGE_ADDR(page, offset)  ((page << 11) | offset << 5)
@@ -88,4 +88,4 @@ enum aic26_wlen {
        AIC26_WLEN_32   = 3 << 10,
 };
 
-#endif /* _TLV320AIC16_H_ */
+#endif /* _TLV320AIC26_H_ */
index 099bee6..52f4e66 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * usbusy2y.c - ALSA USB US-428 Driver
+ * usbusx2y.c - ALSA USB US-428 Driver
  *
 2005-04-14 Karsten Wiese
        Version 0.8.7.2: