diff options
author | Dave Airlie <airlied@redhat.com> | 2022-08-18 01:51:04 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2022-08-18 01:51:42 +0300 |
commit | 2ae6ab9d82cdd0f7381639ee31e31de45519df4c (patch) | |
tree | fa1552d8ab243c083dd0e6b663714d188f0459af /drivers/gpu/drm/meson | |
parent | 8ae4be56dd0c2b851e7edc0f1d5cd441f88481c0 (diff) | |
parent | 82a1356a933d8443139f8886f11b63c974a09a67 (diff) | |
download | linux-2ae6ab9d82cdd0f7381639ee31e31de45519df4c.tar.xz |
Merge tag 'drm-misc-fixes-2022-08-16' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
One patch for imx/dcss to get rid of a warning message, one off-by-one
fix and GA103 support for nouveau, a refcounting fix for meson, a NULL
pointer dereference fix for ttm, a error check fix for lvds-codec, a
dt-binding schema fix and an underflow fix for sun4i
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220816094401.wtadc7ddr6lzq6aj@houat
Diffstat (limited to 'drivers/gpu/drm/meson')
-rw-r--r-- | drivers/gpu/drm/meson/meson_drv.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/meson/meson_drv.c b/drivers/gpu/drm/meson/meson_drv.c index 1b70938cfd2c..bd4ca11d3ff5 100644 --- a/drivers/gpu/drm/meson/meson_drv.c +++ b/drivers/gpu/drm/meson/meson_drv.c @@ -115,8 +115,11 @@ static bool meson_vpu_has_available_connectors(struct device *dev) for_each_endpoint_of_node(dev->of_node, ep) { /* If the endpoint node exists, consider it enabled */ remote = of_graph_get_remote_port(ep); - if (remote) + if (remote) { + of_node_put(remote); + of_node_put(ep); return true; + } } return false; |