diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-05-09 15:00:41 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-07-10 17:59:05 +0200 |
commit | 2e64a174179a144742fa70f09803a012aceca476 (patch) | |
tree | d4485b45fbdf42bd02d9a7544318efc9ea145f1a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c59eb3cfde1faed960fe6de5040c4bd4310fb1cd (diff) |
drm/of: Make drm_of_find_panel_or_bridge() fail when the device is disabled
There's no point searching for a drm_bridge or drm_panel if the OF node
we're pointing has a status property that is not "okay" or "ok". Just
return -ENODEV in this case.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180509130042.9435-4-boris.brezillon@bootlin.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions