Add ports and port child node check in legacy function
in get_ports_legacy function, if there is no ports and port child nodes
of device node, just return to avoid unnecessary actions.
Change-Id: Ie392f1fe8265cb3dba38ac687a0a1612e772a943
Signed-off-by:
Mao Jinlong <jinlmao@codeaurora.org>
Loading
Please register or sign in to comment