]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
clk: meson: g12a: fix missing uart2 in regmap table
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 13 Dec 2019 10:33:04 +0000 (11:33 +0100)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 17 Feb 2020 11:37:08 +0000 (12:37 +0100)
BugLink: https://bugs.launchpad.net/bugs/1863589
commit b1b3f0622a9d52ac19a63619911823c89a4d85a4 upstream.

UART2 peripheral is missing from the regmap fixup table of the g12a family
clock controller. As it is, any access to this clock would Oops, which is
not great.

Add the clock to the table to fix the problem.

Fixes: 085a4ea93d54 ("clk: meson: g12a: add peripheral clock controller")
Reported-by: Dmitry Shmidt <dimitrysh@google.com>
Tested-by: Dmitry Shmidt <dimitrysh@google.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/clk/meson/g12a.c

index b3af61cc6fb9497059aefa08e015e95c470ea294..d2760a021301d2442d57eb98f16c2f87ecb1afe7 100644 (file)
@@ -4692,6 +4692,7 @@ static struct clk_regmap *const g12a_clk_regmaps[] = {
        &g12a_bt656,
        &g12a_usb1_to_ddr,
        &g12a_mmc_pclk,
+       &g12a_uart2,
        &g12a_vpu_intr,
        &g12a_gic,
        &g12a_sd_emmc_a_clk0,