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 4/5] ASoC: intel: skylake: Add fall-through annotation
Date: Thu,  4 Oct 2018 20:30:05 +0200	[thread overview]
Message-ID: <20181004183006.23983-5-tiwai@suse.de> (raw)
In-Reply-To: <20181004183006.23983-1-tiwai@suse.de>

As a preparatory patch for the upcoming -Wimplicit-fallthrough
compiler checks, add the "fall through" annotation in Intel SST
skylake driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/soc/intel/skylake/skl-pcm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/intel/skylake/skl-pcm.c b/sound/soc/intel/skylake/skl-pcm.c
index 823e39103edd..62d6f2f190d1 100644
--- a/sound/soc/intel/skylake/skl-pcm.c
+++ b/sound/soc/intel/skylake/skl-pcm.c
@@ -494,6 +494,7 @@ static int skl_pcm_trigger(struct snd_pcm_substream *substream, int cmd,
 							stream->lpib);
 			snd_hdac_ext_stream_set_lpib(stream, stream->lpib);
 		}
+		/* fall through */
 
 	case SNDRV_PCM_TRIGGER_START:
 	case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
-- 
2.18.0

  parent 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 ` [PATCH 1/5] ASoC: adau1761: Use the standard fall-through annotation Takashi Iwai
2018-10-04 18:34   ` 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 ` Takashi Iwai [this message]
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-5-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.