diff mbox series

[PULL,15/15] audio: Add missing fall through comments

Message ID 20190813111809.3141-16-kraxel@redhat.com (mailing list archive)
State New, archived
Headers show
Series [PULL,01/15] audio: reduce glob_audio_state usage | expand

Commit Message

Gerd Hoffmann Aug. 13, 2019, 11:18 a.m. UTC
From: Stefan Weil <sw@weilnetz.de>

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190718193441.12490-1-sw@weilnetz.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 audio/audio.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/audio/audio.c b/audio/audio.c
index ebe49f3ca10a..90d3dc836dec 100644
--- a/audio/audio.c
+++ b/audio/audio.c
@@ -309,6 +309,7 @@  void audio_pcm_init_info (struct audio_pcm_info *info, struct audsettings *as)
 
     case AUDIO_FORMAT_S16:
         sign = 1;
+        /* fall through */
     case AUDIO_FORMAT_U16:
         bits = 16;
         shift = 1;
@@ -316,6 +317,7 @@  void audio_pcm_init_info (struct audio_pcm_info *info, struct audsettings *as)
 
     case AUDIO_FORMAT_S32:
         sign = 1;
+        /* fall through */
     case AUDIO_FORMAT_U32:
         bits = 32;
         shift = 2;