]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
video: fix semantics of of_display_timings_exist()
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 26 Feb 2015 10:36:11 +0000 (11:36 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 26 Feb 2015 10:36:11 +0000 (11:36 +0100)
commit59244c0e27952eea7d4a4b195f67647213b32077
tree4ddd3898b2bdf5fd27ee43c792501fde2901e7fd
parentd0ae6233d6ede54beeb7a69dd4efce23f67d0995
video: fix semantics of of_display_timings_exist()

The function currently uses of_parse_phandle() to evaluate a
'display-timings' property (pointing to a node that contains the
actual timings) rather than a node named 'display-timings' containing
the timings, which is how the DTB layout actually is.

Use of_get_child_by_name() to find a node by this name instead.
drivers/video/of_display_timing.c