]> git.baikalelectronics.ru Git - kernel.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)
commit314b6ee5bac0ae054a618c7b416eb0806eaedbd0
treed125653a6f9b902a5b54b8ad5cbec44de5f0b1e3
parent35352d656872dee504ac973a59a299a70a25e91b
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: e656da9b8498 ("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