mirror-linux/drivers/gpu/drm/imx/dcss
Liang He 02c87df248 drm/imx/dcss: Add missing of_node_put() in fail path
In dcss_dev_create() and dcss_dev_destroy(), we should call of_node_put()
in fail path or before the dcss's destroy as of_graph_get_port_by_id() has
increased the refcount.

Fixes: 9021c317b7 ("drm/imx: Add initial support for DCSS on iMX8MQ")
Signed-off-by: Liang He <windhl@126.com>
Reviewed-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220714081337.374761-1-windhl@126.com
2022-07-20 10:12:15 +03:00
..
Kconfig drm/imx/dcss: i.MX8MQ DCSS select DRM_GEM_CMA_HELPER 2022-02-18 09:25:16 +00:00
Makefile
dcss-blkctl.c
dcss-crtc.c
dcss-ctxld.c
dcss-dev.c drm/imx/dcss: Add missing of_node_put() in fail path 2022-07-20 10:12:15 +03:00
dcss-dev.h
dcss-dpr.c
dcss-drv.c drm/imx/dcss: Replace module initialization with DRM helpers 2022-01-19 18:40:23 +01:00
dcss-dtg.c
dcss-kms.c
dcss-kms.h
dcss-plane.c
dcss-scaler.c
dcss-ss.c