drm/fsl-dcu: deallocate fbdev CMA on unload
authorStefan Agner <stefan@agner.ch>
Sun, 17 Apr 2016 05:02:49 +0000 (22:02 -0700)
committerStefan Agner <stefan@agner.ch>
Tue, 26 Apr 2016 03:45:33 +0000 (20:45 -0700)
commitafb49e4d38e7541968de34b73e98d46c841546e1
tree574211f79574d13d3eef3d55e776acbd4c46186a
parentb617966c08a1606bed2f4dc5019ffac7f66e9467
drm/fsl-dcu: deallocate fbdev CMA on unload

Free fbdev CMA using drm_fbdev_cma_fini on unload. This fixes
a warning when unloading the driver:
WARNING: CPU: 0 PID: 164 at drivers/gpu/drm/drm_crtc.c:5930 drm_mode_config_cleanup+0x204/0x208

Signed-off-by: Stefan Agner <stefan@agner.ch>
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c