]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: mediatek: Mark bus and DRAM related clocks as critical
authorJasper Mattsson <jasu@njomotys.info>
Thu, 14 Feb 2019 16:32:42 +0000 (17:32 +0100)
committerStephen Boyd <sboyd@kernel.org>
Tue, 26 Feb 2019 17:54:50 +0000 (09:54 -0800)
commitb35656de2a13298512a558506fa8d97a9eda5494
treeb1bea96f1f55bc3c8164161fcddaf6e8551314be
parent5a1cc4c27ad2aa3f988e2d69ce281fd3e8292ce3
clk: mediatek: Mark bus and DRAM related clocks as critical

Currently, DRAM-related clocks are not marked with CLK_IS_CRITICAL
for MT6797. This causes memory corruption when the system is
booted without clk_ignore_unused.
This patch marks MUX ddrphycfg_sel as well as gates infra_dramc_f26m
and infra_dramc_b_f26m as CLK_IS_CRITICAL.

Signed-off-by: Jasper Mattsson <jasu@njomotys.info>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt6797.c