android_kernel_samsung_msm8976/drivers/clocksource
Tobias Jakobi 3b96c38823 clocksource: exynos_mct: Fix bitmask regression for exynos4_mct_write
commit 8c38d28ba8da98f7102c31d35359b4dbe9d1f329 upstream.

EXYNOS4_MCT_L_MASK is defined as 0xffffff00, so applying this bitmask
produces a number outside the range 0x00 to 0xff, which always results
in execution of the default switch statement.

Obviously this is wrong and git history shows that the bitmask inversion
was incorrectly set during a refactoring of the MCT code.

Fix this by putting the inversion at the correct position again.

Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Reported-by: GP Orcullo <kinsamanka@gmail.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-01-29 17:40:56 -08:00
..
acpi_pm.c
arm_arch_timer.c clocksource: arch_timer: use virtual counters 2014-01-09 12:24:26 -08:00
bcm2835_timer.c
bcm_kona_timer.c
cadence_ttc_timer.c
clksrc-dbx500-prcmu.c
clksrc-of.c
cs5535-clockevt.c
cyclone.c
dw_apb_timer.c
dw_apb_timer_of.c clocksource: dw_apb_timer_of: Fix read_sched_clock 2014-01-09 12:24:24 -08:00
em_sti.c clocksource: em_sti: Set cpu_possible_mask to fix SMP broadcast 2014-01-15 15:28:45 -08:00
exynos_mct.c clocksource: exynos_mct: Fix bitmask regression for exynos4_mct_write 2015-01-29 17:40:56 -08:00
i8253.c
Kconfig ARM: late Exynos multiplatform changes 2013-05-07 11:28:42 -07:00
Makefile ARM: late Exynos multiplatform changes 2013-05-07 11:28:42 -07:00
metag_generic.c
mmio.c
mxs_timer.c
nomadik-mtu.c
samsung_pwm_timer.c
scx200_hrt.c
sh_cmt.c
sh_mtu2.c
sh_tmu.c
sun4i_timer.c
tcb_clksrc.c
tegra20_timer.c
time-armada-370-xp.c
timer-marco.c
timer-prima2.c
vt8500_timer.c