diff options
author | 2020-03-01 18:00:12 +0000 | |
---|---|---|
committer | 2020-03-01 18:00:12 +0000 | |
commit | e47af70cdeb5acfe1a87aad4c03862b7d6981395 (patch) | |
tree | 34c4e1347464235a8a55bc6586bc5b85935568c5 | |
parent | Make it possible to set the VPLL clock frequency and add a few more PLL clock (diff) | |
download | wireguard-openbsd-e47af70cdeb5acfe1a87aad4c03862b7d6981395.tar.xz wireguard-openbsd-e47af70cdeb5acfe1a87aad4c03862b7d6981395.zip |
When activating a video port, don't bail out if activating an endpoint
fails. Not reporting an error in that case isn't ideal, but this gets
us a bit further along in supporting drm(4) on RK3399 SoCs.
ok patrick@
-rw-r--r-- | sys/dev/ofw/ofw_misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ofw/ofw_misc.c b/sys/dev/ofw/ofw_misc.c index 3af8a002d8b..880457d93d1 100644 --- a/sys/dev/ofw/ofw_misc.c +++ b/sys/dev/ofw/ofw_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ofw_misc.c,v 1.13 2020/02/21 15:46:16 patrick Exp $ */ +/* $OpenBSD: ofw_misc.c,v 1.14 2020/03/01 18:00:12 kettenis Exp $ */ /* * Copyright (c) 2017 Mark Kettenis * @@ -471,10 +471,10 @@ video_port_activate(uint32_t phandle, struct drm_device *ddev) continue; error = video_endpoint_activate(ep, ddev); if (error) - return error; + continue; error = video_endpoint_activate(rep, ddev); if (error) - return error; + continue; } return 0; |