diff options
Diffstat (limited to 'target/linux/mediatek/patches-4.4/0003-soc-mediatek-Init-MT8173-scpsys-driver-earlier.patch')
-rw-r--r-- | target/linux/mediatek/patches-4.4/0003-soc-mediatek-Init-MT8173-scpsys-driver-earlier.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/target/linux/mediatek/patches-4.4/0003-soc-mediatek-Init-MT8173-scpsys-driver-earlier.patch b/target/linux/mediatek/patches-4.4/0003-soc-mediatek-Init-MT8173-scpsys-driver-earlier.patch deleted file mode 100644 index 46af96450b..0000000000 --- a/target/linux/mediatek/patches-4.4/0003-soc-mediatek-Init-MT8173-scpsys-driver-earlier.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 6f87948c3a58f02f6a64eadda719317016739d5e Mon Sep 17 00:00:00 2001 -From: James Liao <jamesjj.liao@mediatek.com> -Date: Wed, 30 Dec 2015 14:41:44 +0800 -Subject: [PATCH 003/102] soc: mediatek: Init MT8173 scpsys driver earlier - -Some power domain comsumers may init before module_init. -So the power domain provider (scpsys) need to be initialized -earlier too. - -Signed-off-by: James Liao <jamesjj.liao@mediatek.com> ---- - drivers/soc/mediatek/mtk-scpsys-mt8173.c | 13 ++++++++++++- - 1 file changed, 12 insertions(+), 1 deletion(-) - ---- a/drivers/soc/mediatek/mtk-scpsys-mt8173.c -+++ b/drivers/soc/mediatek/mtk-scpsys-mt8173.c -@@ -176,4 +176,15 @@ static struct platform_driver scpsys_drv - }, - }; - --module_platform_driver_probe(scpsys_drv, scpsys_probe); -+static int __init scpsys_drv_init(void) -+{ -+ return platform_driver_probe(&scpsys_drv, scpsys_probe); -+} -+ -+static void __exit scpsys_drv_exit(void) -+{ -+ platform_driver_unregister(&scpsys_drv); -+} -+ -+subsys_initcall(scpsys_drv_init); -+module_exit(scpsys_drv_exit); |