From 7d5c6af845563a828f382167dfd6a1d6c1efb78e Mon Sep 17 00:00:00 2001 From: jiamin ma Date: Tue, 31 Jul 2018 18:11:54 +0800 Subject: [PATCH] unifykey: switch init order of unifykey and securitykey PD#170850: unifykey: wrong unifykey driver init status The linux driver init order depends on init func level and position in Makefile. Securitykey and unifykey are both necessary for unifykey driver to work normal. Currently securitykey is always initialized before unifykey, and the unifykey init status checking API only checkes whether the probe process of unifykey is done.So there is a chance when LCD driver get unifykey probing process done status, while securitykey is still under probing, which means unifykey still cannot work normal We should switch the init order of these two module to solve this issue Change-Id: I8c4471d3689cff4356645fdc45df735be625baa2 Signed-off-by: jiamin ma --- drivers/amlogic/unifykey/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/amlogic/unifykey/Makefile b/drivers/amlogic/unifykey/Makefile index 84dea1372..6f51526 100644 --- a/drivers/amlogic/unifykey/Makefile +++ b/drivers/amlogic/unifykey/Makefile @@ -1,8 +1,8 @@ # # Makefile for unifykey # -obj-$(CONFIG_AMLOGIC_UNIFYKEY) += unifykey.o unifykey_dts.o storagekey.o - obj-$(CONFIG_AMLOGIC_V8_UNIFYKEY) += v8/ obj-$(CONFIG_AMLOGIC_V7_UNIFYKEY) += v7/ + +obj-$(CONFIG_AMLOGIC_UNIFYKEY) += unifykey.o unifykey_dts.o storagekey.o -- 2.7.4