linux-stable/drivers/gpu/drm/meson
Martin Blumenstingl a840164ab4 drm/meson: Fix error handling when afbcd.ops->init fails
[ Upstream commit fa747d75f6 ]

When afbcd.ops->init fails we need to free the struct drm_device. Also
all errors which come after afbcd.ops->init was successful need to exit
the AFBCD, just like meson_drv_unbind() does.

Fixes: d1b5e41e13 ("drm/meson: Add AFBCD module driver")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211230235515.1627522-3-martin.blumenstingl@googlemail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 13:57:54 +02:00
..
Kconfig drm: Remove CONFIG_DRM_KMS_CMA_HELPER option 2021-11-30 11:10:03 +01:00
Makefile drm/meson: rename venc_cvbs to encoder_cvbs 2021-11-12 10:10:01 +01:00
meson_crtc.c
meson_crtc.h
meson_drv.c drm/meson: Fix error handling when afbcd.ops->init fails 2022-04-08 13:57:54 +02:00
meson_drv.h
meson_dw_hdmi.c drm/meson: encoder_hdmi: switch to bridge DRM_BRIDGE_ATTACH_NO_CONNECTOR 2021-11-12 10:10:01 +01:00
meson_dw_hdmi.h
meson_encoder_cvbs.c drm/meson: encoder_cvbs: switch to bridge with ATTACH_NO_CONNECTOR 2021-11-12 10:10:01 +01:00
meson_encoder_cvbs.h drm/meson: rename venc_cvbs to encoder_cvbs 2021-11-12 10:10:01 +01:00
meson_encoder_hdmi.c drm/meson: encoder_hdmi: switch to bridge DRM_BRIDGE_ATTACH_NO_CONNECTOR 2021-11-12 10:10:01 +01:00
meson_encoder_hdmi.h drm/meson: split out encoder from meson_dw_hdmi 2021-11-12 10:09:19 +01:00
meson_osd_afbcd.c drm/meson: osd_afbcd: Add an exit callback to struct meson_afbcd_ops 2022-04-08 13:57:54 +02:00
meson_osd_afbcd.h drm/meson: osd_afbcd: Add an exit callback to struct meson_afbcd_ops 2022-04-08 13:57:54 +02:00
meson_overlay.c drm/<driver>: drm_gem_plane_helper_prepare_fb is now the default 2021-06-24 15:35:24 +02:00
meson_overlay.h
meson_plane.c drm/<driver>: drm_gem_plane_helper_prepare_fb is now the default 2021-06-24 15:35:24 +02:00
meson_plane.h
meson_rdma.c
meson_rdma.h
meson_registers.h drm/meson: fix colour distortion from HDR set during vendor u-boot 2021-08-10 10:00:02 +02:00
meson_vclk.c drm/meson/meson_vclk: Make two local functions static 2020-11-17 18:34:14 +01:00
meson_vclk.h
meson_venc.c drm/meson: Fix few typo 2021-03-19 10:40:54 +01:00
meson_venc.h
meson_viu.c drm/meson: fix colour distortion from HDR set during vendor u-boot 2021-08-10 10:00:02 +02:00
meson_viu.h
meson_vpp.c
meson_vpp.h