[PATCH 0/2] video: of: display_timing: fixes
a.hajda at samsung.com
Wed Sep 25 04:51:30 PDT 2013
Those two independent patches fixes DT display_timings related code.
The first patch replaces of_find_node_by_name by of_get_child_by_name.
Usage of of_find_node_by_name in such context is incorrect:
- we need only direct child, and this function looks for following nodes
on implementation internal list regardless of the hierarchy,
- there is no warranty that child nodes are after parent nodes in
this search order, it happens to be true for DT created from FDT,
but it is not true for dynamic DT.
The second patch just removes unused/broken function.
Andrzej Hajda (2):
video: of: display_timing: correct display-timings node finding
video: of: display_timing: remove broken of_display_timings_exist
drivers/video/of_display_timing.c | 26 +++-----------------------
include/video/of_display_timing.h | 1 -
2 files changed, 3 insertions(+), 24 deletions(-)
More information about the dri-devel