commit | a7ed3c2b151e7581ed6022d0fe65903ccb502dc5 | [log] [tgz] |
---|---|---|
author | Liu Ying <Ying.Liu@freescale.com> | Fri Nov 06 22:42:45 2015 +0800 |
committer | Philipp Zabel <p.zabel@pengutronix.de> | Thu Nov 19 12:51:39 2015 +0100 |
tree | ef9a93abd4409b5ad465ecc0a7656adf574e1cae | |
parent | 4389559980599ad99f39a004d6e9aaf9c2180ab8 [diff] |
drm/imx: ipuv3-crtc: Return error if ipu_plane_init() fails for primary plane For primary plane initialization failure cases, ipu_plane_init() may return a pointer encoded by ERR_PTR(). So, we should bailout instead of using that pointer blindly. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>