From f9af0a1606a469d84ba4577745cdde238f2c64da Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Wed, 1 Feb 2023 14:39:48 +0100 Subject: [PATCH] HACK: display: disable non-working display config on j473 Signed-off-by: Janne Grunau --- src/display.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/display.c b/src/display.c index 30fe8e5c..3d40dbf5 100644 --- a/src/display.c +++ b/src/display.c @@ -499,6 +499,13 @@ int display_init(void) return -1; } + // HACK: disable non-working display config on j473ap + int model_node = adt_path_offset(adt, "/"); + if (model_node >= 0 && adt_is_compatible(adt, model_node, "J473AP")) { + printf("display: j473 is not support\n"); + return 0; + } + display_is_external = adt_getprop(adt, node, "external", NULL); if (display_is_external) printf("display: Display is external\n");