All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Mark Brown <broonie@kernel.org>
Cc: Oder Chiou <oder_chiou@realtek.com>,
	alsa-devel@alsa-project.org, Lars-Peter Clausen <lars@metafoo.de>,
	Jie Yang <yang.jie@linux.intel.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
	Bard Liao <bardliao@realtek.com>
Subject: [PATCH 1/5] ASoC: adau1761: Use the standard fall-through annotation
Date: Thu,  4 Oct 2018 20:30:02 +0200	[thread overview]
Message-ID: <20181004183006.23983-2-tiwai@suse.de> (raw)
In-Reply-To: <20181004183006.23983-1-tiwai@suse.de>

As a preparatory patch for the upcoming -Wimplicit-fallthrough
compiler checks, replace with the standard "fall through" annotation
at the right place.  It has to be put right before the next label.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/soc/codecs/adau1761.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sound/soc/codecs/adau1761.c b/sound/soc/codecs/adau1761.c
index be136e981653..bef3e9e74c26 100644
--- a/sound/soc/codecs/adau1761.c
+++ b/sound/soc/codecs/adau1761.c
@@ -518,7 +518,8 @@ static int adau1761_setup_digmic_jackdetect(struct snd_soc_component *component)
 			ARRAY_SIZE(adau1761_jack_detect_controls));
 		if (ret)
 			return ret;
-	case ADAU1761_DIGMIC_JACKDET_PIN_MODE_NONE: /* fallthrough */
+		/* fall through */
+	case ADAU1761_DIGMIC_JACKDET_PIN_MODE_NONE:
 		ret = snd_soc_dapm_add_routes(dapm, adau1761_no_dmic_routes,
 			ARRAY_SIZE(adau1761_no_dmic_routes));
 		if (ret)
-- 
2.18.0

  reply	other threads:[~2018-10-04 18:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-04 18:30 [PATCH 0/5] ASoC: Fix fall-through annotations Takashi Iwai
2018-10-04 18:30 ` Takashi Iwai [this message]
2018-10-04 18:34   ` [PATCH 1/5] ASoC: adau1761: Use the standard fall-through annotation Lars-Peter Clausen
2018-10-04 18:39     ` Takashi Iwai
2018-10-05 11:42       ` Mark Brown
2018-10-04 18:30 ` [PATCH 2/5] ASoC: pcm186x: " Takashi Iwai
2018-10-05 13:26   ` Applied "ASoC: pcm186x: Use the standard fall-through annotation" to the asoc tree Mark Brown
2018-10-04 18:30 ` [PATCH 3/5] ASoC: rt274: Add fall-through annotations Takashi Iwai
2018-10-05 13:26   ` Applied "ASoC: rt274: Add fall-through annotations" to the asoc tree Mark Brown
2018-10-04 18:30 ` [PATCH 4/5] ASoC: intel: skylake: Add fall-through annotation Takashi Iwai
2018-10-04 18:30 ` [PATCH 5/5] ASoC: topology: Use the standard fall-through annotations Takashi Iwai
2018-10-05 13:25   ` Applied "ASoC: topology: Use the standard fall-through annotations" to the asoc tree Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181004183006.23983-2-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=bardliao@realtek.com \
    --cc=broonie@kernel.org \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=oder_chiou@realtek.com \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=yang.jie@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.