artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f61f9b4
)
drm/dp_mst: Fix all mstb marked as not probed after suspend/resume
author
jsg
<jsg@openbsd.org>
Mon, 5 Aug 2024 02:44:55 +0000
(
02:44
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 5 Aug 2024 02:44:55 +0000
(
02:44
+0000)
From Wayne Lin
e290feb8b749a06b93ed01d4cf66567cbdf0e85d
in linux-6.6.y/6.6.44
d63d81094d208abb20fc444514b2d9ec2f4b7c4e
in mainline linux
sys/dev/pci/drm/display/drm_dp_mst_topology.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/display/drm_dp_mst_topology.c
b/sys/dev/pci/drm/display/drm_dp_mst_topology.c
index
778b596
..
2b77d44
100644
(file)
--- a/
sys/dev/pci/drm/display/drm_dp_mst_topology.c
+++ b/
sys/dev/pci/drm/display/drm_dp_mst_topology.c
@@
-2933,7
+2933,7
@@
static int drm_dp_send_link_address(struct drm_dp_mst_topology_mgr *mgr,
/* FIXME: Actually do some real error handling here */
ret = drm_dp_mst_wait_tx_reply(mstb, txmsg);
- if (ret <
=
0) {
+ if (ret < 0) {
drm_err(mgr->dev, "Sending link address failed with %d\n", ret);
goto out;
}
@@
-2985,7
+2985,7
@@
static int drm_dp_send_link_address(struct drm_dp_mst_topology_mgr *mgr,
mutex_unlock(&mgr->lock);
out:
- if (ret <
=
0)
+ if (ret < 0)
mstb->link_address_sent = false;
kfree(txmsg);
return ret < 0 ? ret : changed;