]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: meson-g12a: missing break
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 15 Feb 2020 20:10:54 +0000 (21:10 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 6 Apr 2020 07:56:35 +0000 (09:56 +0200)
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>
drivers/clk/meson/g12a.c

index 686d94ebfe858d0f3280dbcd7e36881d945ca980..cada80e6b5fc0786b8ff3a3f2224c844a99f2651 100644 (file)
@@ -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;