From patchwork Thu Jun 22 17:56:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Anholt X-Patchwork-Id: 9805045 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DAC4E600C5 for ; Thu, 22 Jun 2017 17:56:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD2D328581 for ; Thu, 22 Jun 2017 17:56:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C06E9285C5; Thu, 22 Jun 2017 17:56:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4D92128581 for ; Thu, 22 Jun 2017 17:56:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B6E276E085; Thu, 22 Jun 2017 17:56:39 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from anholt.net (anholt.net [50.246.234.109]) by gabe.freedesktop.org (Postfix) with ESMTP id C8C396E085 for ; Thu, 22 Jun 2017 17:56:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 95CD810A1DBC; Thu, 22 Jun 2017 10:56:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id W67G497ZHY0i; Thu, 22 Jun 2017 10:56:37 -0700 (PDT) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 06E9C10A0655; Thu, 22 Jun 2017 10:56:37 -0700 (PDT) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 4D9162E81C9; Thu, 22 Jun 2017 10:56:36 -0700 (PDT) From: Eric Anholt To: dri-devel@lists.freedesktop.org, Philippe CORNU , Alexandre Torgue , Yannick Fertre Subject: [PATCH 2/2] drm/stm: Fixup for "drm/stm: ltdc: Add panel-bridge support" Date: Thu, 22 Jun 2017 10:56:36 -0700 Message-Id: <20170622175636.22723-2-eric@anholt.net> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170622175636.22723-1-eric@anholt.net> References: <1497889685-27349-2-git-send-email-philippe.cornu@st.com> <20170622175636.22723-1-eric@anholt.net> Cc: linux-kernel@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Eric Anholt --- This fixup would be squashed into patch 1 of your series. drivers/gpu/drm/stm/ltdc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c index 7d7e889f09c3..d1d28348512b 100644 --- a/drivers/gpu/drm/stm/ltdc.c +++ b/drivers/gpu/drm/stm/ltdc.c @@ -953,7 +953,8 @@ int ltdc_load(struct drm_device *ddev) bridge = drm_panel_bridge_add(panel, DRM_MODE_CONNECTOR_DPI); if (IS_ERR(bridge)) { DRM_ERROR("Failed to create panel-bridge\n"); - return PTR_ERR(bridge); + ret = PTR_ERR(bridge); + goto err; } ldev->is_panel_bridge = true; }