From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752795AbdBUUUa (ORCPT ); Tue, 21 Feb 2017 15:20:30 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:35396 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751647AbdBUUUX (ORCPT ); Tue, 21 Feb 2017 15:20:23 -0500 Date: Tue, 21 Feb 2017 12:20:18 -0800 From: Maxime Ripard To: Chen-Yu Tsai Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/7] drm/sun4i: Fix up error path cleanup for master bind function Message-ID: <20170221202018.eu42zc35reanrgsp@lukather> References: <20170217031330.14087-1-wens@csie.org> <20170217031330.14087-3-wens@csie.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ga3bsixobtg7h4b6" Content-Disposition: inline In-Reply-To: <20170217031330.14087-3-wens@csie.org> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ga3bsixobtg7h4b6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 17, 2017 at 11:13:25AM +0800, Chen-Yu Tsai wrote: > The master bind function calls numerous drm functions which initialize > underlying structures. It also tries to bind the various components > of the display pipeline, some of which may add additional drm objects. >=20 > This patch adds proper cleanup functions in the error path of the > master bind function. >=20 > This requires the patch "drm/sun4i: Move drm_mode_config_cleanup call > to main driver", which splits out drm_mode_config_cleanup from > sun4i_framebuffer_free so we can call it separately. >=20 > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --ga3bsixobtg7h4b6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJYrKECAAoJEBx+YmzsjxAgE20P/ip0EIuQDK65DuRElN8uK/Kl 31EYJKVPkasXKh8VwEqmRl3D78brMgePMDxzhw2h/lnwG6YBjyMpETUwcb685d/U 9EpD6AzkmH8u7nramq8wezb2AhggcJtpd0dX7ExxvDe/E45e8WpgTspmzMu0q1pn enTwgRSHkPBolQsS4ttcVMf6FLDjhhdwCwMc5URzaWdNHj/z9g1x3oLBkrwD58v0 nk4cl93+dOoBMet8eM4FD9ZzqpzF6XyOLAyVvPIvpfFTuOBPJcNyPMMKsVg8SxzO gEky2oPvosEKdfeMygJGb3MubPg7XE6c1dHcNjWuxHqLJ5dAnOmLdexYmt/GMvth 3KhNNX2bmRnMmu6swPEwhe0WsT3vX+9lbNCLNZ89pMgFx/j+BUVObwOD8r4U460e N9NuACEgz1rbMeQC2Id6gGD0Ld8y2b1MrHPNFuALMlMayYiq8n0DzHPfRB7iLtVN NIeu9yGKwa37ZuHZONlHnqqCVgt3Y9jR28KfTR/hMjvrue58IPeb8T6jCvRt6CsE cxb8WoOPvF6e5G6sS7LdOonH3wuh74fGQLLQXkWE7H1a/EOAF93/6iqTa8RcJgTP CSaLJ/OJRaVS5CyyTPDom3z+fx5bPvfzvj3E1S93rdMO6CSKrV7z3fGrXek9F8dV v8oFvkmGdJKc8CKaP7nS =MyXf -----END PGP SIGNATURE----- --ga3bsixobtg7h4b6--