From patchwork Mon Dec 18 10:57:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13496610 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 15EEDC46CCD for ; Mon, 18 Dec 2023 10:58:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MBnoYjOzPYl7CMI6V3VlAjmYg3ecnPvpXByqzmcwxfE=; b=sYYB7teYVd56Dz qm5zAdzhnsoktSbziU2gOI7JU8Vp+2P5bF/j8WINnrIADC96GJxc1Czobqd2InWHsLonp8p+QWaSy jPEzgtIGFe2NXVJGCUCVUQlO7EhrtwEIFJf9TctdY1imLPK1td1UStLKnTioQquJBEh+6pUi1YCAV P2cpWBhwWgCjF51MY1/vpnUyGae8wEptJrg8ELCBKD3G8x/Du83lrvZysQvT1C54cpwizjrT2R9X8 wtWGvT69V4DEOmh3LDy1ci6hJwfzKSsPzsHYSDADahrH/u01NZmjgBDE/Y87fqZQv9WiuX8ryK+Cn XGZPHcPoLVZm7v58NrEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFBJe-009wmK-0L; Mon, 18 Dec 2023 10:57:42 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFBJR-009waQ-0h for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 10:57:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1702897049; x=1734433049; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fddthYdTBT69uFgmETEmEISCHIBOg8BtXB5X4yHA0g8=; b=WUY50ZUFc4JS4YuCUp10P5oVzaN1o+WucYxFmSDOFSumcPvz9wR9p8K8 but06QN4eBjX7gyMWxvkBqOzyNZ1iw8yACxLjOAJtHpWuYNlGoE6CZTZJ rPwpHodocW74K3RIS9zzhP0E6DP29YoDN0H5bIhiRSrovv/WCiUyoYrII xycJR7fQgLAFCb5orUONIxC6B6302caj+aGC+VP8jzYKQ/d8BK/M2zKRY 93x3vjt0mH6/BAUa3bA4tYcCdWFL6vAU/6ZroyGmqPW5X7Kbt12NbdCVH 8mbleDLdbIw35TJh5jb7YV95qV5TGufHoIGE/TKFymH68/lcxDjSJ5tLx Q==; X-IronPort-AV: E=Sophos;i="6.04,285,1695679200"; d="scan'208";a="34559835" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Dec 2023 11:57:22 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 7ABC4280075; Mon, 18 Dec 2023 11:57:22 +0100 (CET) From: Alexander Stein To: Liu Ying , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 6/6] drm/bridge: dpu-core: Don't print error on -EPROBE_DEFER Date: Mon, 18 Dec 2023 11:57:18 +0100 Message-Id: <20231218105718.2445136-7-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218105718.2445136-1-alexander.stein@ew.tq-group.com> References: <20231218105718.2445136-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_025729_578553_E463C691 X-CRM114-Status: GOOD ( 10.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org -517 errors are just annoying. dev_err_probe can't be used here either as this would hide the error message already set in us->init. Signed-off-by: Alexander Stein --- drivers/gpu/drm/imx/dpu/dpu-core.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/imx/dpu/dpu-core.c b/drivers/gpu/drm/imx/dpu/dpu-core.c index d6116b3e4ed7..ea2558a14a6c 100644 --- a/drivers/gpu/drm/imx/dpu/dpu-core.c +++ b/drivers/gpu/drm/imx/dpu/dpu-core.c @@ -592,9 +592,10 @@ static int dpu_submodules_init(struct dpu_soc *dpu, unsigned long dpu_base) ret = us->init(dpu, j, us->ids[j], us->types[j], pec_ofs, dpu_base + us->ofss[j]); if (ret) { - dev_err(dpu->dev, - "failed to initialize %s%d: %d\n", - us->name, us->ids[j], ret); + if (ret != -EPROBE_DEFER) + dev_err(dpu->dev, + "failed to initialize %s%d: %d\n", + us->name, us->ids[j], ret); return ret; } }