detect correct panel using presence of disp-default-out
inside the panel node
Bug
200140476
Change-Id: I9e53e4ff236052eae16fdc2eea251af5025e253f
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/803949
(cherry picked from commit
88b937d6fce6f9034e2ca7a0ca31f244ae197b7c)
Reviewed-on: http://git-master/r/807422
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
np_sor = of_find_node_by_path(SOR_NODE);
if (np_sor) {
for_each_available_child_of_node(np_sor, np_panel) {
- if (np_panel)
- break;
+ if (np_panel && of_get_child_by_name(
+ np_panel, "disp-default-out"))
+ break;
}
}
}