summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorGuido Martínez <guido@vanguardiasur.com.ar>2014-06-17 11:17:07 -0300
committerDave Airlie <airlied@redhat.com>2014-07-08 11:25:14 +1000
commit3a49012224ca9016658a831a327ff6a7fe5bb4f9 (patch)
treea24003094dfdefbe32b12c20087d8c64b7603100 /arch/sh
parent16dcbdef404f4e87dab985494381939fe0a2d456 (diff)
downloadlinux-3a49012224ca9016658a831a327ff6a7fe5bb4f9.tar.bz2
drm/tilcdc: panel: fix leak when unloading the module
The driver did not unregister the allocated framebuffer, which caused memory leaks (and memory manager WARNs) when unloading. Also, the framebuffer device under /dev still existed after unloading. Add a call to drm_fbdev_cma_fini when unloading the module to prevent both issues. Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar> Tested-by: Darren Etheridge <detheridge@ti.com> Cc: <stable@vger.kernel.org> #v3.9+ Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions