drm/tegra: fb: Do not destroy framebuffer
authorThierry Reding <treding@nvidia.com>
Tue, 21 Oct 2014 11:56:59 +0000 (13:56 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 15:18:32 +0000 (16:18 +0100)
commit3feaf3e5ae89347a2ab3b9e994f1f3d85c09185f
tree7d7d60435d333be773e11172bb2c7439f4924443
parentdc6057ecb39edb34b0461ca55382094410bd257a
drm/tegra: fb: Do not destroy framebuffer

Drop a reference instead of directly calling the framebuffer .destroy()
callback at fbdev free time. This is necessary to make sure the object
isn't destroyed if anyone else still has a reference.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/fb.c