diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-02-15 21:10:54 +0100 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2020-04-06 09:56:35 +0200 |
commit | 87a8f9675949da859ed24fe49c3f5250064a13bf (patch) | |
tree | 00af3f4067ed875a8e13e966f2218887f0a2c427 /drivers/clk | |
parent | 74bf17db394d49c7041ee01a277fcf8d99b9a514 (diff) | |
download | u-boot-87a8f9675949da859ed24fe49c3f5250064a13bf.tar.gz |
clk: meson-g12a: missing break
Add missing break for CLKID_PCIE_PLL in switch statement.
Reported by CppCheck.
Cc: Neil Armstrong <narmstrong@baylibre.com>
Fixes: 08e09c263fdf ("clk: meson-g12a: Add PCIE PLL support")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/meson/g12a.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |