]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ASoC: topology: Use the standard fall-through annotations
authorTakashi Iwai <tiwai@suse.de>
Thu, 4 Oct 2018 18:30:06 +0000 (20:30 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 5 Oct 2018 11:38:22 +0000 (12:38 +0100)
As a preparatory patch for the upcoming -Wimplicit-fallthrough
compiler checks, replace with the standard "fall through" annotation.
gcc can't understand the mixed texts, unfortunately.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c

index 17f81b9a57544857d98d2767c05e9658d929ad1d..045ef136903d63b4a7e3339e137cb5156dedffb7 100644 (file)
@@ -993,7 +993,7 @@ static int soc_tplg_denum_create(struct soc_tplg *tplg, unsigned int count,
                                kfree(se);
                                continue;
                        }
-                       /* fall through and create texts */
+                       /* fall through */
                case SND_SOC_TPLG_CTL_ENUM:
                case SND_SOC_TPLG_DAPM_CTL_ENUM_DOUBLE:
                case SND_SOC_TPLG_DAPM_CTL_ENUM_VIRT:
@@ -1310,7 +1310,7 @@ static struct snd_kcontrol_new *soc_tplg_dapm_widget_denum_create(
                                        ec->hdr.name);
                                goto err_se;
                        }
-                       /* fall through to create texts */
+                       /* fall through */
                case SND_SOC_TPLG_CTL_ENUM:
                case SND_SOC_TPLG_DAPM_CTL_ENUM_DOUBLE:
                case SND_SOC_TPLG_DAPM_CTL_ENUM_VIRT: