]> git.baikalelectronics.ru Git - kernel.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)
commit280f7a03d366284a3add1e9751774127f6bf589a
treeb1bea96f1f55bc3c8164161fcddaf6e8551314be
parent35e8b079e6a88e0aa32e48b8bc71406325bd1687
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