display: change init priority config to 85

Some display drivers may actually be initialized after LittlevGL
as those drivers and LittlevGL's lvgl_init() all have SYS_INIT()
at APPLICATION and init priority the same as application init
priority. Depending on how the final binary is linked, these
drivers may initialize after lvgl_init() resulting in it not
able to find a display driver. This changes the value of
CONFIG_DISPLAY_INIT_PRIORITY so that the display drivers that
make use of this kconfig are initialized a bit earlier to
ensure that they are actually initialized before lvgl_init().

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2021-08-07 22:53:58 -07:00 committed by Christopher Friedt
commit 8dd6540e02

View file

@ -12,7 +12,7 @@ if DISPLAY
config DISPLAY_INIT_PRIORITY
int "Display devices init priority"
default 90
default 85
help
Display devices initialization priority.