android_kernel_oneplus_msm8998/drivers/clk
Dmitry Osipenko 12060f4740 clk: tegra: Fix PLLM programming on Tegra124+ when PMC overrides divider
commit 40db569d6769ffa3864fd1b89616b1a7323568a8 upstream.

There are wrongly set parenthesis in the code that are resulting in a
wrong configuration being programmed for PLLM. The original fix was made
by Danny Huang in the downstream kernel. The patch was tested on Nyan Big
Tegra124 chromebook, PLLM rate changing works correctly now and system
doesn't lock up after changing the PLLM rate due to EMC scaling.

Cc: <stable@vger.kernel.org>
Tested-by: Steev Klimaszewski <steev@kali.org>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-By: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-11 12:23:45 +02:00
..
at91 clk: at91: fix check of clk_register() returned value 2016-06-07 18:14:34 -07:00
bcm clk: bcm2835: De-assert/assert PLL reset signal when appropriate 2018-04-24 09:32:08 +02:00
berlin ARM: SoC driver updates for v4.4 2015-11-10 15:00:03 -08:00
h8300 h8300: unaligned divcr register support. 2015-11-08 22:44:37 +09:00
hisilicon clk: Remove unneeded semicolons 2015-09-17 11:15:14 -07:00
imx clk: imx6sl: ensure MMDC CH0 handshake is bypassed 2019-02-20 10:13:08 +01:00
ingenic clk: ingenic: Fix round_rate misbehaving with non-integer dividers 2019-03-23 08:44:36 +01:00
keystone clk: keystone: fix a trivial typo 2015-10-19 15:29:09 -07:00
mediatek clk: mediatek: add the option for determining PLL source clock 2017-12-20 10:04:59 +01:00
meson clk: meson: Fix meson_clk_register_clks() signature type mismatch 2016-05-11 11:21:12 +02:00
mmp clk: mmp: Off by one in mmp_clk_add() 2018-12-21 14:09:53 +01:00
mvebu clk: mvebu: armada-38x: add support for missing clocks 2018-04-24 09:32:08 +02:00
mxs clk:mxs: Fix bug on frequency divider 2015-10-01 15:24:34 -07:00
nxp clk-divider: make sure read-only dividers do not write to their register 2016-05-11 11:21:11 +02:00
pistachio
pxa
qcom clk: qcom: msm8916: fix mnd_width for codec_digcodec 2018-03-22 09:23:28 +01:00
rockchip clk: rockchip: Prevent calculating mmc phase if clock rate is zero 2018-05-30 07:49:14 +02:00
samsung clk: samsung: exynos5420: Enable PERIS clocks for suspend 2018-11-27 16:08:00 +01:00
shmobile ARM: SoC platform updates for v4.4 2015-11-10 14:56:23 -08:00
sirf clk: atlas7: fix noc/socket disconnect/reconnect for unit clks 2015-09-29 08:27:14 -07:00
socfpga
spear
st drivers: clk: st: Correct the pll-type for A9 for stih418 2015-10-08 23:52:59 -07:00
sunxi clk: sunxi: Add apb0 gates for H3 2017-05-02 21:19:47 -07:00
tegra clk: tegra: Fix PLLM programming on Tegra124+ when PMC overrides divider 2019-06-11 12:23:45 +02:00
ti clk: ti: dra7-atl-clock: fix child-node lookups 2017-11-30 08:37:23 +00:00
ux500
versatile clk: versatile: sp810: support reentrance 2016-05-11 11:21:12 +02:00
x86
zte
zynq
clk-asm9260.c
clk-axi-clkgen.c
clk-axm5516.c
clk-cdce706.c
clk-cdce925.c
clk-clps711x.c
clk-composite.c
clk-conf.c clk: Fix __set_clk_rates error print-string 2018-04-13 19:50:16 +02:00
clk-devres.c
clk-divider.c clk: divider: Fix clk_divider_round_rate() to use clk_readl() 2016-10-31 04:14:01 -06:00
clk-efm32gg.c
clk-fixed-factor.c
clk-fixed-rate.c
clk-fractional-divider.c clk: fractional-divider: switch to rational best approximation 2015-10-02 11:29:48 -07:00
clk-gate.c
clk-gpio.c clk: gpio: Get parent clk names in of_gpio_clk_setup() 2015-11-18 17:19:01 -08:00
clk-highbank.c
clk-ls1x.c
clk-max-gen.c
clk-max-gen.h
clk-max77686.c
clk-max77802.c clk: max77802: Update MODULE_AUTHOR() email address 2015-10-14 11:31:55 -07:00
clk-mb86s7x.c
clk-moxart.c
clk-multiplier.c clk: Remove clk_{register,unregister}_multiplier() 2015-10-23 13:34:46 -07:00
clk-mux.c
clk-nomadik.c
clk-nspire.c
clk-palmas.c
clk-pwm.c
clk-qoriq.c clk: qoriq: Don't allow CPU clocks higher than starting value 2016-11-18 10:48:35 +01:00
clk-rk808.c
clk-s2mps11.c clk: s2mps11: Fix matching when built as module and DT node contains compatible 2018-11-21 09:27:41 +01:00
clk-scpi.c clk: scpi: fix return type of __scpi_dvfs_round_rate 2018-04-13 19:50:16 +02:00
clk-si514.c Add driver for the si514 clock generator chip 2015-10-08 23:52:55 -07:00
clk-si570.c
clk-si5351.c clk: si5351: Rename internal plls to avoid name collisions 2018-03-24 10:58:48 +01:00
clk-si5351.h
clk-stm32f4.c
clk-twl6040.c
clk-u300.c
clk-vt8500.c
clk-wm831x.c clk: clk-wm831x: fix a logic error 2017-01-12 11:22:48 +01:00
clk-xgene.c clk: xgene: Add missing parenthesis when clearing divider value 2016-10-07 15:23:47 +02:00
clk.c clk: Don't show the incorrect clock phase 2018-05-30 07:49:11 +02:00
clk.h
clkdev.c clkdev: fix clk_add_alias() with a NULL alias device name 2015-10-20 17:24:08 +01:00
Kconfig ARM: SoC driver updates for v4.4 2015-11-10 15:00:03 -08:00
Makefile clk: Make x86/ conditional on CONFIG_COMMON_CLK 2017-05-14 13:32:55 +02:00