[PATCH] drm/fsl-dcu: use drm_mode_config_cleanup on initialization errors
Thierry Reding
thierry.reding at gmail.com
Tue Jun 21 13:54:19 UTC 2016
On Sat, Jun 18, 2016 at 07:15:43PM -0700, Stefan Agner wrote:
> Commit 7566e247672d ("drm/fsl-dcu: handle initialization errors properly")
> introduced error handling during initialization, but with a wrong cleanup
> order.
>
> Replace the error handling with the generic cleanup function
> drm_mode_config_cleanup.
>
> Signed-off-by: Stefan Agner <stefan at agner.ch>
> ---
> drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c | 13 ++++++-------
> 1 file changed, 6 insertions(+), 7 deletions(-)
Applied to topic/drm-misc, thanks.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160621/fa2c4b1a/attachment.sig>
More information about the dri-devel
mailing list