Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit faf68f0a authored by Abinaya P's avatar Abinaya P
Browse files

drivers: clk: msm: Remove gcc flags from clk makefile



We see that due to gcc optimisation, the R0 register is not getting
updated with the correct value when it returns from __calc_values.
Hence, remove the gcc flag "cse-follow-jumps" from O2 level of
optimisation for clk drivers.

Change-Id: I5ed927b5223f191e5cc584ede9b2637b019a899b
Signed-off-by: default avatarAbinaya P <abinayap@codeaurora.org>
parent a6c04fa6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -53,3 +53,7 @@ obj-$(CONFIG_ARCH_MSM8953) += clock-cpu-8953.o

obj-y				+= gdsc.o
obj-y				+= mdss/

ifdef CONFIG_ARCH_MDM9607
KBUILD_CFLAGS	+= -fno-cse-follow-jumps
endif