]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/sun4i: Add missing drm_atomic_helper_shutdown at driver unbind
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Thu, 18 Apr 2019 13:27:25 +0000 (15:27 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Thu, 18 Apr 2019 14:26:22 +0000 (16:26 +0200)
commit71adf60f0a925c0e0c7dc2d0311fe40b825be737
treed125653a6f9b902a5b54b8ad5cbec44de5f0b1e3
parentd15d9fd02575ecfada92d42f655940c4f10af842
drm/sun4i: Add missing drm_atomic_helper_shutdown at driver unbind

A call to drm_atomic_helper_shutdown is required to properly release
the internal references taken by the core and avoid warnings about
leaking objects. Add it since it was missing.

Fixes: 9026e0d122ac ("drm: Add Allwinner A10 Display Engine support")
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190418132727.5128-2-paul.kocialkowski@bootlin.com
drivers/gpu/drm/sun4i/sun4i_drv.c