linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] video: of: display_timing: fixes
@ 2013-09-25 11:51 Andrzej Hajda
  2013-09-25 11:51 ` [PATCH 1/2] video: of: display_timing: correct display-timings node finding Andrzej Hajda
  2013-09-25 11:51 ` [PATCH 2/2] video: of: display_timing: remove broken of_display_timings_exist Andrzej Hajda
  0 siblings, 2 replies; 5+ messages in thread
From: Andrzej Hajda @ 2013-09-25 11:51 UTC (permalink / raw)
  To: open list:FRAMEBUFFER LAYER
  Cc: Andrzej Hajda, Kyungmin Park, Tomi Valkeinen,
	Jean-Christophe Plagniol-Villard, dri-devel

Hi,

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.

Regards
Andrzej

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(-)

-- 
1.8.1.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-09-26  9:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-25 11:51 [PATCH 0/2] video: of: display_timing: fixes Andrzej Hajda
2013-09-25 11:51 ` [PATCH 1/2] video: of: display_timing: correct display-timings node finding Andrzej Hajda
2013-09-26  9:37   ` Tomi Valkeinen
2013-09-25 11:51 ` [PATCH 2/2] video: of: display_timing: remove broken of_display_timings_exist Andrzej Hajda
2013-09-26  9:37   ` Tomi Valkeinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).