From: Heinrich Schuchardt Date: Sat, 15 Feb 2020 20:10:54 +0000 (+0100) Subject: clk: meson-g12a: missing break X-Git-Tag: v2020.07-rc1~41^2~3^2~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=87a8f9675949da859ed24fe49c3f5250064a13bf;p=oweals%2Fu-boot.git clk: meson-g12a: missing break Add missing break for CLKID_PCIE_PLL in switch statement. Reported by CppCheck. Cc: Neil Armstrong Fixes: 08e09c263fdf ("clk: meson-g12a: Add PCIE PLL support") Signed-off-by: Heinrich Schuchardt Reviewed-by: Lukasz Majewski Acked-by: Neil Armstrong Signed-off-by: Neil Armstrong --- diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c index 686d94ebfe..cada80e6b5 100644 --- a/drivers/clk/meson/g12a.c +++ b/drivers/clk/meson/g12a.c @@ -804,6 +804,7 @@ static ulong meson_clk_get_rate_by_id(struct clk *clk, unsigned long id) break; case CLKID_PCIE_PLL: rate = meson_pcie_pll_get_rate(clk); + break; case CLKID_VPU_0: rate = meson_div_get_rate(clk, CLKID_VPU_0_DIV); break;