From d57c2eee4797f014b658a3455a3422b4fc43f05a Mon Sep 17 00:00:00 2001 From: Ritesh Kumar Date: Tue, 10 Nov 2020 13:01:11 +0530 Subject: [PATCH] drm: msm: dsi: Update DSI parser util to skip disabled child nodes Currently, disabled timing child nodes or power supply nodes are not skipped because of which status = "disabled" entry does not work for child nodes. Use of_get_next_available_child to skip disabled child nodes. Change-Id: Ib6e4b655f83dd0ee3ffddd496976c34030fa3dc0 Signed-off-by: Ritesh Kumar --- msm/dsi/dsi_parser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msm/dsi/dsi_parser.h b/msm/dsi/dsi_parser.h index 949de1b4b02e..0ba6aa3a3b67 100644 --- a/msm/dsi/dsi_parser.h +++ b/msm/dsi/dsi_parser.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. */ #ifndef _DSI_PARSER_H_ @@ -204,7 +204,7 @@ static inline struct dsi_parser_utils *dsi_parser_get_of_utils(void) .get_child_count = of_get_child_count, .get_available_child_count = of_get_available_child_count, .find_property = of_find_property, - .get_next_child = of_get_next_child, + .get_next_child = of_get_next_available_child, .count_u32_elems = of_property_count_u32_elems, .get_named_gpio = of_get_named_gpio, };