aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-5.15/103-mt7623-enable-arch-timer.patch
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2022-04-29 10:44:51 +0800
committerChuanhong Guo <gch981213@gmail.com>2022-04-29 11:32:28 +0800
commitb2d802f8398b45ebda0a2658fdf5015169004e07 (patch)
tree902e5c45349a3c00f52aacc26faddd1525274f94 /target/linux/mediatek/patches-5.15/103-mt7623-enable-arch-timer.patch
parentab7e53e5cce703c7a62efbe1d41fb94c2228a178 (diff)
downloadupstream-b2d802f8398b45ebda0a2658fdf5015169004e07.tar.gz
upstream-b2d802f8398b45ebda0a2658fdf5015169004e07.tar.bz2
upstream-b2d802f8398b45ebda0a2658fdf5015169004e07.zip
mediatek: mt7623 enable arch-timer with a patch
Last attempt on this has a typo and doen't work. It seems that this is a common problem occurring on every kernel bump, so let's enforce arch timer support for mt7623 with a patch instead. Fixes: 9a22943eb2 ("mediatek: 5.15: re-enable arch timer on MT7623 as well") Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/mediatek/patches-5.15/103-mt7623-enable-arch-timer.patch')
-rw-r--r--target/linux/mediatek/patches-5.15/103-mt7623-enable-arch-timer.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-5.15/103-mt7623-enable-arch-timer.patch b/target/linux/mediatek/patches-5.15/103-mt7623-enable-arch-timer.patch
new file mode 100644
index 0000000000..ea455c4721
--- /dev/null
+++ b/target/linux/mediatek/patches-5.15/103-mt7623-enable-arch-timer.patch
@@ -0,0 +1,25 @@
+From d6a596012150960f0f3a214d31bbac4b607dbd1e Mon Sep 17 00:00:00 2001
+From: Chuanhong Guo <gch981213@gmail.com>
+Date: Fri, 29 Apr 2022 10:40:56 +0800
+Subject: [PATCH] arm: mediatek: select arch timer for mt7623
+
+Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
+---
+ arch/arm/mach-mediatek/Kconfig | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig
+index 35a3430c7942..8a8d9142260a 100644
+--- a/arch/arm/mach-mediatek/Kconfig
++++ b/arch/arm/mach-mediatek/Kconfig
+@@ -26,6 +26,7 @@ config MACH_MT6592
+ config MACH_MT7623
+ bool "MediaTek MT7623 SoCs support"
+ default ARCH_MEDIATEK
++ select HAVE_ARM_ARCH_TIMER
+
+ config MACH_MT7629
+ bool "MediaTek MT7629 SoCs support"
+--
+2.35.1
+