video: rockchip: rga2: delay rga2 initcall
authorxubilv <xbl@rock-chips.com>
Wed, 26 Apr 2017 06:47:06 +0000 (14:47 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 27 Apr 2017 10:27:51 +0000 (18:27 +0800)
rga2 and edp pd is the same -- PD_VIO.
if rga2 initcall earlier than edp,
then it will flash sreen when power on.

Change-Id: Ifa9b4f1f985a6de66d48915f56bc7d225ae0d7a9
Signed-off-by: xubilv <xbl@rock-chips.com>
drivers/video/rockchip/rga2/rga2_drv.c

index 2ab9d881e9296343a23db0a6115fca23f9105f40..a42edc1f6061f932e8bd88a3ccd14d46708f728e 100644 (file)
@@ -1708,7 +1708,7 @@ void rga2_test_0(void)
 }
 #endif
 
-module_init(rga2_init);
+late_initcall(rga2_init);
 module_exit(rga2_exit);
 
 /* Module information */