drm/tilcdc: Fix tilcdc_crtc_create() return value handling
authorJyri Sarha <jsarha@ti.com>
Tue, 15 Nov 2016 20:56:46 +0000 (22:56 +0200)
committerJyri Sarha <jsarha@ti.com>
Wed, 30 Nov 2016 12:18:53 +0000 (14:18 +0200)
commit9963d36d14ecca29414c0e78d41840cec5b0ea03
treebb74b1cc3d8f10b2f946c3b18d0ea93143c70f27
parent9345235e9c67c216af000631ba898c21e5a3f30d
drm/tilcdc: Fix tilcdc_crtc_create() return value handling

Failed tilcdc_crtc_create() error handling was broken, this patch
should fix it.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c
drivers/gpu/drm/tilcdc/tilcdc_drv.c
drivers/gpu/drm/tilcdc/tilcdc_drv.h