mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-12-18 17:53:10 +00:00
HACK: display: disable non-working display config on j473
Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
parent
b67063abba
commit
f9af0a1606
1 changed files with 7 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue