alistair23-linux/drivers/gpu/drm/sun4i
Chen-Yu Tsai 13fef095bd drm: sun4i: do cleanup if RGB output init fails
sun4i_rgb_init() can fail, which results in TCON failing to bind.
In this case we need to do cleanup, specificly unregistering the
dotclock, which is regmap based, and the regmap is registered as
part of the sun4i_tcon_bind().

Failing to do so results in a NULL pointer reference when the CCF
tries to turn off unused clocks.

Fixes: 29e57fab97 ("drm: sun4i: Add RGB output")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2016-05-30 08:28:33 +02:00
..
Kconfig drm/sun4i: add COMMON_CLK dependency 2016-05-30 08:28:33 +02:00
Makefile drm: sun4i: Add composite output 2016-04-28 10:30:05 +02:00
sun4i_backend.c drm: sun4i: print DMA address correctly 2016-05-30 08:28:33 +02:00
sun4i_backend.h drm: Add Allwinner A10 Display Engine support 2016-04-28 10:30:05 +02:00
sun4i_crtc.c drm: Add Allwinner A10 Display Engine support 2016-04-28 10:30:05 +02:00
sun4i_crtc.h drm: Add Allwinner A10 Display Engine support 2016-04-28 10:30:05 +02:00
sun4i_dotclock.c drm/sun4i: request exact rates to our parents 2016-05-30 08:28:33 +02:00
sun4i_dotclock.h drm: Add Allwinner A10 Display Engine support 2016-04-28 10:30:05 +02:00
sun4i_drv.c drm/sun4i: Convert to connector register helpers 2016-05-30 08:28:33 +02:00
sun4i_drv.h drm: Add Allwinner A10 Display Engine support 2016-04-28 10:30:05 +02:00
sun4i_framebuffer.c drm: Add Allwinner A10 Display Engine support 2016-04-28 10:30:05 +02:00
sun4i_framebuffer.h drm: Add Allwinner A10 Display Engine support 2016-04-28 10:30:05 +02:00
sun4i_layer.c drm: Add Allwinner A10 Display Engine support 2016-04-28 10:30:05 +02:00
sun4i_layer.h drm: Add Allwinner A10 Display Engine support 2016-04-28 10:30:05 +02:00
sun4i_rgb.c drm/sun4i: rgb: panel is an error pointer 2016-05-30 08:28:33 +02:00
sun4i_rgb.h drm: sun4i: Add RGB output 2016-04-28 10:30:05 +02:00
sun4i_tcon.c drm: sun4i: do cleanup if RGB output init fails 2016-05-30 08:28:33 +02:00
sun4i_tcon.h drm: sun4i: Add RGB output 2016-04-28 10:30:05 +02:00
sun4i_tv.c drm: sun4i: tv: Add NTSC output standard 2016-04-28 10:30:05 +02:00