From: Gustavo A. R. Silva Date: Tue, 13 Jul 2021 19:58:18 +0000 (-0500) Subject: ASoC: Mediatek: MT8183: Fix fall-through warning for Clang X-Git-Tag: v5.14-rc2~23^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4796372e7c117b84bfd929526f48e23c79030dcd;p=thirdparty%2Fkernel%2Flinux.git ASoC: Mediatek: MT8183: Fix fall-through warning for Clang Fix the following fallthrough warning: sound/soc/mediatek/mt8183/mt8183-dai-adda.c:342:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] Reported-by: Nathan Chancellor Signed-off-by: Gustavo A. R. Silva --- diff --git a/sound/soc/mediatek/mt8183/mt8183-dai-adda.c b/sound/soc/mediatek/mt8183/mt8183-dai-adda.c index 2b758a18c2ea5..5b8a274419ed1 100644 --- a/sound/soc/mediatek/mt8183/mt8183-dai-adda.c +++ b/sound/soc/mediatek/mt8183/mt8183-dai-adda.c @@ -341,6 +341,7 @@ static int set_mtkaif_rx(struct mtk_base_afe *afe) case MT8183_MTKAIF_PROTOCOL_1: regmap_write(afe->regmap, AFE_AUD_PAD_TOP, 0x31); regmap_write(afe->regmap, AFE_ADDA_MTKAIF_CFG0, 0x0); + break; default: break; }