linux/drivers/gpu/drm/tilcdc
Guido Martínez 3a49012224 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>
2014-07-08 11:25:14 +10:00
..
Kconfig drm: Add separate Kconfig option for fbdev helpers 2013-10-11 23:36:58 +02:00
Makefile drivers/gpu/drm/tilcdc: Makefile, only -Werror when no -W* in EXTRA_CFLAGS 2013-04-24 14:34:40 +10:00
tilcdc_crtc.c drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
tilcdc_drv.c drm/tilcdc: panel: fix leak when unloading the module 2014-07-08 11:25:14 +10:00
tilcdc_drv.h drm/tilcdc fixing i2c/slave initialization race 2013-06-28 09:12:54 +10:00
tilcdc_panel.c drm/tilcdc: panel: fix dangling sysfs connector node 2014-07-08 11:24:51 +10:00
tilcdc_panel.h drm/tilcdc: add support for LCD panels (v5) 2013-02-19 17:57:45 -05:00
tilcdc_regs.h drm/tilcdc: support pixel widths greater than 1024 2013-06-28 09:12:13 +10:00
tilcdc_slave.c drm/tilcdc: slave: fix dangling sysfs connector node 2014-07-08 11:24:57 +10:00
tilcdc_slave.h
tilcdc_tfp410.c drm/tilcdc: tfp410: fix dangling sysfs connector node 2014-07-08 11:25:08 +10:00
tilcdc_tfp410.h