projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b2fd56
)
drm/tilcdc: Fix check for remote port parent
author
Teresa Remmet
<t.remmet@phytec.de>
Mon, 15 Aug 2016 08:16:28 +0000
(10:16 +0200)
committer
Jyri Sarha
<jsarha@ti.com>
Thu, 1 Sep 2016 19:28:57 +0000
(22:28 +0300)
In function tilcdc_get_external_components the check for
the remote port parent is not correct. We need a '||' instead of
an '&&'.
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_external.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/tilcdc/tilcdc_external.c
b/drivers/gpu/drm/tilcdc/tilcdc_external.c
index ad3db4d30b491f284d6da5e06c577bed93a1c0e6..849b23ebc455d1814e2a41fca493e41957c85019 100644
(file)
--- a/
drivers/gpu/drm/tilcdc/tilcdc_external.c
+++ b/
drivers/gpu/drm/tilcdc/tilcdc_external.c
@@
-154,7
+154,7
@@
int tilcdc_get_external_components(struct device *dev,
while ((ep = of_graph_get_next_endpoint(dev->of_node, ep))) {
node = of_graph_get_remote_port_parent(ep);
- if (!node
&&
!of_device_is_available(node)) {
+ if (!node
||
!of_device_is_available(node)) {
of_node_put(node);
continue;
}