Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6227323rdb; Thu, 14 Dec 2023 11:44:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IEhR9wFaJTQN67XST36w0ixfJ8uBGJb/StUZg09T0BXN4/XwPTTyEeSiIzptPGLIRns+Xst X-Received: by 2002:a05:6a20:8e14:b0:18f:bfc2:f46c with SMTP id y20-20020a056a208e1400b0018fbfc2f46cmr5337518pzj.88.1702583049341; Thu, 14 Dec 2023 11:44:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702583049; cv=none; d=google.com; s=arc-20160816; b=q1yUAOTLu3eWjSEEHVUrnyhW1YDdN66nnXavGQW6YXCCa4a2HVaYu/nUpfWXwtGWa3 jnhXWR+KZwqKk8E3ASFxNgKnn1hC0+/ttA3W9s1E/UHltDpsiE49RJZYp3DSgvQ2EzUt pyyMYaHrevvuCjLs8eTQOphRLWE7J3rDTw3vQhVVUQTqM+n0MnB3lZNJ0Y3bLWg44Sm1 lzYpgbPNjdkokGhEyHlVAn655PscdzKkv/n+4sVvOjcbjvwaG77OuiYYJeSu7ua55NI3 dywyBoapD3jNnbw2q1kKzEZWXBy0NGNdeHRSFCBW6uDT7+K1KaU8vMdx8HjQOfQpMN5w uAzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=g1N4WLdf7sdlP56PS4ELYG6Uf5jhTf+hRZAedOnp114=; fh=PRLwRPYGKeK8J1A69bqfsqryVgfspblOVgOyf7VCOhM=; b=IGIqI2gnEB+xlAG7VdilMHZg3ZIxVNnxPvrwHVKiwaWlN8ribCm6aRlIEGvudt+xlV 1zLa7RCbBq650388PhDuq2sa5HL/AZW8xeyhNDdW6HP15bHeTBm7pJxDgC651jaZN+iV c/2fgApVjL6UJiJ6etBrW43BXkqpJN1gep5MTsHrekc8zZ/eHOhtwbP0VwSWATV2yAWd cmo1gQmtzUCfMLZoyyv9ccGIe04AblVTulQY3riAxJ38UVBOqzhCjZy77RCNu/2cByek A7q6acMFtPTqPJE/fToQPZTM+CoeT88q5aavPP2ZjPR7bAHdQSxk8n4Pf2+lG1wy45Cf wFjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cQraBOG3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id t1-20020a170902b20100b001d055c255a8si11444169plr.221.2023.12.14.11.44.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 11:44:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cQraBOG3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id ED694836B4EA; Thu, 14 Dec 2023 11:44:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230283AbjLNTUv (ORCPT + 99 others); Thu, 14 Dec 2023 14:20:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231864AbjLNRko (ORCPT ); Thu, 14 Dec 2023 12:40:44 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEAE6121; Thu, 14 Dec 2023 09:40:50 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-54c4f95e27fso7910901a12.1; Thu, 14 Dec 2023 09:40:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702575649; x=1703180449; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=g1N4WLdf7sdlP56PS4ELYG6Uf5jhTf+hRZAedOnp114=; b=cQraBOG3mat1Eloaoc8+Y24tpxu4poxTw74iycUwZ0W554MBa/SQtdPEhqtB9/zXas +/TRm6NASEBG3jGft9MzIWCyKgOpHZlb1sdM8xhVyy4jMHxpUumfnuLwgh5XQl+5cNrX pEpRiEZOFapl2FTZEuCgbluprfOU94QOZTd0HfEaNzXspyoj0yi5zY9GXiNVySoP31gE IY029GSXzjTupmfiTcV7slWhIB2Rz9ynlbJjcYhHhgQejUuYenOiZQ/hk2GB5DhvIQE8 PnctuQYWiUZmgUwTNAydjzhg+Rkzq9fOj2Mz+sxD6Pm9EVqcWRrJh+HEUANr+tt/3GJu aetg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702575649; x=1703180449; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=g1N4WLdf7sdlP56PS4ELYG6Uf5jhTf+hRZAedOnp114=; b=ZOV2gQXWDOgJT1uNrBQCC+dSKYwUgYgU3EVkKFosalESQTddzHTW/6Ut1Ldm0pGbbZ d6eIvPJzpijG4RUBZ7zQeJgBl/J9XEMizEZpv3iBqBSFurjuOOiY83HIcN7LKOWK9kN0 0Dj8zErQb3ZW9RbQj+G4V/kciCttKcGWGHKFy7Z4fXJFagnOwd+LB8Co2t0B9mC+ki3w HviahpflvRWcJ8ye5MSoVGvhGGmuMG0JiJA29MKpjZP6dWBkO4xZOLUXBZBNRLDV0VC9 o2p/ZXsX0qfuXUsSj8DsrpcPB0o3gr79XlLd5TE8po/u9msDKxtBaHYAi36ChTGVRxf1 PqxA== X-Gm-Message-State: AOJu0YzYp/XiGhu3IKZFXab7R1ksmfGQJYvPFpNVGV/yeBI3wpE5Hd2I YMehMACvdcX29NDV4x53aws= X-Received: by 2002:a50:c88b:0:b0:551:e411:3b04 with SMTP id d11-20020a50c88b000000b00551e4113b04mr2198866edh.54.1702575648799; Thu, 14 Dec 2023 09:40:48 -0800 (PST) Received: from orome.fritz.box (p200300e41f0fa600f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f0f:a600:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id l12-20020a50cbcc000000b0054b53aacd86sm6850033edi.65.2023.12.14.09.40.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 09:40:48 -0800 (PST) Date: Thu, 14 Dec 2023 18:40:46 +0100 From: Thierry Reding To: Christophe JAILLET Cc: mperttunen@nvidia.com, airlied@gmail.com, daniel@ffwll.ch, jonathanh@nvidia.com, digetx@gmail.com, dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH 0/6] drm/tegra: Fix some error handling paths Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="B7QFJ7EdQEv+w64a" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.12 (2023-09-09) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 14 Dec 2023 11:44:07 -0800 (PST) --B7QFJ7EdQEv+w64a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 02, 2023 at 05:22:07PM +0200, Christophe JAILLET wrote: > Most of the patches are retated to tegra_output_probe() and missing > tegra_output_remove(). Others are things spotted while writting the serie. >=20 >=20 > Patches 1, 3, 4 are verbose, but some functions called in the probe can > return -EPROBE_DEFER, so it is nice to correctly release resources. >=20 > Maybe moving the tegra_output_probe() call would minimize the changes, bu= t I'm > always reluctant to move code, because of possible side-effects. >=20 >=20 > Christophe JAILLET (6): > drm/tegra: dsi: Fix some error handling paths in tegra_dsi_probe() > drm/tegra: dsi: Fix missing pm_runtime_disable() in the error handling > path of tegra_dsi_probe() > drm/tegra: dsi: Fix some error handling paths in tegra_hdmi_probe() > drm/tegra: rgb: Fix some error handling paths in tegra_dc_rgb_probe() > drm/tegra: rgb: Fix missing clk_put() in the error handling paths of > tegra_dc_rgb_probe() > drm/tegra: output: Fix missing i2c_put_adapter() in the error handling > paths of tegra_output_probe() >=20 > drivers/gpu/drm/tegra/dsi.c | 55 ++++++++++++++++++++++------------ > drivers/gpu/drm/tegra/hdmi.c | 20 ++++++++----- > drivers/gpu/drm/tegra/output.c | 16 +++++++--- > drivers/gpu/drm/tegra/rgb.c | 18 +++++++---- > 4 files changed, 74 insertions(+), 35 deletions(-) Sorry, this fell through the cracks. Applied now, thanks. Thierry --B7QFJ7EdQEv+w64a Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmV7PhwACgkQ3SOs138+ s6GS9w//STu4g/vBWEfc4q5m0e7gCrQ3UzXsy8t1imWkMTk852LmQdXLz5vl5sBf wIsHVsun6jAYMHL6ItSZkUz5Qrxw+3WQpwTP757lUyNI9ECxE2A5QUfuYq+hDtAq YDs7VQODIJs6yj1aKHVVYsW1QW/xiQu/oH1YuA6AhJ5TzhR01R8ihVnFHrO1QrbL OXd0SSlf3t8zMrIxqnBJonMKBlWt64FgG8qIs2+M/FJLFnqnCo97FLJdzpSFVhnA Wbmp4ddR/tAhgMamFVkcFxRJ+ug8UEohMYdb73Hu5m0IlNIjygVyr2328RUAzB1u NveWNQBp082mPd7Vuaf2dapDKD+oAmFEqkIDsPWQjYSWUp3v6xHk4IHPACMrqsx6 zdnLqhXU2u8nK+eFIAd1/NVVhYq43IV5yOFI8rwfsjq+fUPhQoZM5vH7A5MPGKsa Dya+y2ysUsBMzZxvpDjUG/nXBhuJ6aDXQggNZPVdNpcnvkTrpakl7WaJQCn6WtMB gxO7x2dXcbwFSW8mWLFB1W7ZwAOS7TRTYRvHlwZGHQHvejDePb9FyxGT26OG9Urp cK9KfH1WmPSLJvM1iAADFApGD9CvY09US/b4+tH1Tz0K9gjoTPEeP/W/wj4/bYW1 y+hWfjwbfh79c8Nfg4gnWJFo2AaqtZmlwWDHiiO2pDnA2W289BQ= =MZfe -----END PGP SIGNATURE----- --B7QFJ7EdQEv+w64a--