]> Git Repo - linux.git/commitdiff
ASoC: adav80x: mark expected switch fall-through
authorGustavo A. R. Silva <[email protected]>
Wed, 8 Aug 2018 19:19:33 +0000 (14:19 -0500)
committerMark Brown <[email protected]>
Thu, 9 Aug 2018 13:41:50 +0000 (14:41 +0100)
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Addresses-Coverity-ID: 1056531 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Acked-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/codecs/adav80x.c

index db21ecbe07625b5f972797de08ff51694f98c2df..8b9ca7e7a68242b5d2a632f6586fafe9b13e55a6 100644 (file)
@@ -648,6 +648,7 @@ static int adav80x_set_pll(struct snd_soc_component *component, int pll_id,
                        pll_ctrl1 |= ADAV80X_PLL_CTRL1_PLLDIV;
                        break;
                }
+               /* fall through */
        default:
                return -EINVAL;
        }
This page took 0.06508 seconds and 4 git commands to generate.