diff options
| author | Guido MartÃnez <guido@vanguardiasur.com.ar> | 2014-06-17 11:17:07 -0300 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2014-07-08 11:25:14 +1000 |
| commit | 3a49012224ca9016658a831a327ff6a7fe5bb4f9 (patch) | |
| tree | a24003094dfdefbe32b12c20087d8c64b7603100 /lib/mpi/mpiutil.c | |
| parent | 16dcbdef404f4e87dab985494381939fe0a2d456 (diff) | |
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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
