linux/drivers/gpu/drm/tilcdc
Ezequiel Garcia b478e336b3 drm/tilcdc: Fix the error path in tilcdc_load()
The current error path calls tilcdc_unload() in case of an error to release
the resources. However, this is wrong because not all resources have been
allocated by the time an error occurs in tilcdc_load().

To fix it, this commit adds proper labels to bail out at the different
stages in the load function, and release only the resources actually allocated.

Tested-by: Darren Etheridge <detheridge@ti.com>
Tested-by: Johannes Pointner <johannes.pointner@br-automation.com>
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2014-09-17 10:54:33 +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: Fix the error path in tilcdc_load() 2014-09-17 10:54:33 +10:00
tilcdc_drv.h drm/tilcdc: remove submodule destroy calls 2014-07-08 11:25:32 +10:00
tilcdc_panel.c drm/tilcdc: Fix build breakage 2014-07-10 12:01:38 +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: Fix build breakage 2014-07-10 12:01:38 +10:00
tilcdc_slave.h
tilcdc_tfp410.c drm/tilcdc: Fix build breakage 2014-07-10 12:01:38 +10:00
tilcdc_tfp410.h