ASoC: core: Correct spelling fliped -> flipped
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Fri, 13 May 2022 09:05:30 +0000 (10:05 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 16 May 2022 11:58:39 +0000 (12:58 +0100)
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220513090532.1450944-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/generic/audio-graph-card2.c
sound/soc/soc-core.c

index f906e5a..f20f5f8 100644 (file)
@@ -1259,7 +1259,7 @@ int snd_soc_of_parse_audio_routing(struct snd_soc_card *card,
                                   const char *propname);
 int snd_soc_of_parse_aux_devs(struct snd_soc_card *card, const char *propname);
 
-unsigned int snd_soc_daifmt_clock_provider_fliped(unsigned int dai_fmt);
+unsigned int snd_soc_daifmt_clock_provider_flipped(unsigned int dai_fmt);
 unsigned int snd_soc_daifmt_clock_provider_from_bitmap(unsigned int bit_frame);
 
 unsigned int snd_soc_daifmt_parse_format(struct device_node *np, const char *prefix);
index 2b5d20f..77ac405 100644 (file)
@@ -711,7 +711,7 @@ static void graph_link_init(struct asoc_simple_priv *priv,
         */
        daiclk = snd_soc_daifmt_clock_provider_from_bitmap(bit_frame);
        if (is_cpu_node)
-               daiclk = snd_soc_daifmt_clock_provider_fliped(daiclk);
+               daiclk = snd_soc_daifmt_clock_provider_flipped(daiclk);
 
        dai_link->dai_fmt       = daifmt | daiclk;
        dai_link->init          = asoc_simple_dai_init;
index d68e64b..32267a3 100644 (file)
@@ -1230,7 +1230,7 @@ int snd_soc_runtime_set_dai_fmt(struct snd_soc_pcm_runtime *rtd,
        /*
         * Flip the polarity for the "CPU" end of a CODEC<->CODEC link
         */
-       inv_dai_fmt = snd_soc_daifmt_clock_provider_fliped(dai_fmt);
+       inv_dai_fmt = snd_soc_daifmt_clock_provider_flipped(dai_fmt);
 
        for_each_rtd_cpu_dais(rtd, i, cpu_dai) {
                unsigned int fmt = dai_fmt;
@@ -3035,7 +3035,7 @@ int snd_soc_of_parse_aux_devs(struct snd_soc_card *card, const char *propname)
 }
 EXPORT_SYMBOL_GPL(snd_soc_of_parse_aux_devs);
 
-unsigned int snd_soc_daifmt_clock_provider_fliped(unsigned int dai_fmt)
+unsigned int snd_soc_daifmt_clock_provider_flipped(unsigned int dai_fmt)
 {
        unsigned int inv_dai_fmt = dai_fmt & ~SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK;
 
@@ -3056,7 +3056,7 @@ unsigned int snd_soc_daifmt_clock_provider_fliped(unsigned int dai_fmt)
 
        return inv_dai_fmt;
 }
-EXPORT_SYMBOL_GPL(snd_soc_daifmt_clock_provider_fliped);
+EXPORT_SYMBOL_GPL(snd_soc_daifmt_clock_provider_flipped);
 
 unsigned int snd_soc_daifmt_clock_provider_from_bitmap(unsigned int bit_frame)
 {