]> 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)
commit6e1b5254eaf0c5f6ada8c0d578e53a0f401a1d7d
treed125653a6f9b902a5b54b8ad5cbec44de5f0b1e3
parent253e56bf5cd0c169e59f790779eb43a0ddc06d21
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: 19f0a1ddb467 ("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