drm/fsl-dcu: handle initialization errors properly
authorStefan Agner <stefan@agner.ch>
Tue, 17 Nov 2015 00:25:17 +0000 (16:25 -0800)
committerStefan Agner <stefan@agner.ch>
Fri, 26 Feb 2016 00:13:16 +0000 (16:13 -0800)
commit7566e247672d6ab67ce2a4c0fe03c17d695481b7
treeb299899265263ac650fba9dbdd77d73398173235
parent72cc05a5182079a2506c85f2cf4782dca3ac7e21
drm/fsl-dcu: handle initialization errors properly

If initialization fails (e.g. due to missing panel node or deferred
probe) make sure to roll-back all operations and return the error
code.

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