Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/imx: fix memory leak when fails to init
commit 69c3ed7 upstream. Put DRM device on initialization failure path rather than directly return error code. Fixes: a67d508 ("drm/imx: drop explicit drm_mode_config_cleanup") Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information