projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'drm-misc-fixes-2022-05-26' of git://anongit.freedesktop.org/drm/drm-misc...
[platform/kernel/linux-rpi.git]
/
drivers
/
gpu
/
drm
/
bridge
/
ti-sn65dsi83.c
diff --git
a/drivers/gpu/drm/bridge/ti-sn65dsi83.c
b/drivers/gpu/drm/bridge/ti-sn65dsi83.c
index
2831f08
..
ac66f40
100644
(file)
--- a/
drivers/gpu/drm/bridge/ti-sn65dsi83.c
+++ b/
drivers/gpu/drm/bridge/ti-sn65dsi83.c
@@
-577,7
+577,7
@@
static int sn65dsi83_parse_dt(struct sn65dsi83 *ctx, enum sn65dsi83_model model)
ctx->host_node = of_graph_get_remote_port_parent(endpoint);
of_node_put(endpoint);
- if (ctx->dsi_lanes < 0 || ctx->dsi_lanes > 4) {
+ if (ctx->dsi_lanes <
=
0 || ctx->dsi_lanes > 4) {
ret = -EINVAL;
goto err_put_node;
}