From: jiamin ma Date: Tue, 31 Jul 2018 10:11:54 +0000 (+0800) Subject: unifykey: switch init order of unifykey and securitykey X-Git-Tag: khadas-vims-v0.9.6-release~1627 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d5c6af845563a828f382167dfd6a1d6c1efb78e;p=platform%2Fkernel%2Flinux-amlogic.git 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 --- 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