Files
android_kernel_xiaomi_sm8450/arch/m68k/include/asm
Finn Thain 1dfb26df15 m68k: mvme147,mvme16x: Don't wipe PCC timer config bits
[ Upstream commit 43262178c043032e7c42d00de44c818ba05f9967 ]

Don't clear the timer 1 configuration bits when clearing the interrupt flag
and counter overflow. As Michael reported, "This results in no timer
interrupts being delivered after the first. Initialization then hangs
in calibrate_delay as the jiffies counter is not updated."

On mvme16x, enable the timer after requesting the irq, consistent with
mvme147.

Cc: Michael Pavone <pavone@retrodev.com>
Fixes: 7529b90d05 ("m68k: mvme147: Handle timer counter overflow")
Fixes: 19999a8b87 ("m68k: mvme16x: Handle timer counter overflow")
Reported-and-tested-by: Michael Pavone <pavone@retrodev.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Link: https://lore.kernel.org/r/4fdaa113db089b8fb607f7dd818479f8cdcc4547.1617089871.git.fthain@telegraphics.com.au
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-14 09:50:14 +02:00
..
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2019-01-04 13:13:46 -08:00
2011-12-10 19:52:48 +01:00
2018-02-21 15:35:43 -08:00
2009-01-16 21:58:10 +10:00
2014-09-29 09:56:19 +10:00
2018-05-07 07:15:41 +02:00
2018-10-31 08:54:12 -07:00
2020-08-12 10:57:58 -07:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2020-09-07 10:56:08 +02:00
2019-04-03 10:32:54 +02:00
2020-01-12 16:49:20 +01:00