Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2659680lqp; Mon, 25 Mar 2024 06:01:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXn7mTlfltOtOEhvcOHwm/bGk29ENpRFXCM2/+eCoDIuc2C9cPCAtzhZFKBUv3ShmNyRJ8yyS4yFQx3VbmUh7vlg1v7xqO56uVE/zQ6KQ== X-Google-Smtp-Source: AGHT+IGKaOW2jFz2pa3vABbKQsxD8XsX0K1GuVWSI9/nEFtuWgAeVxZ3CuIv5JFKtoB172YrWaYX X-Received: by 2002:a05:6359:45a7:b0:17e:c5bf:2ead with SMTP id no39-20020a05635945a700b0017ec5bf2eadmr8567365rwb.6.1711371707434; Mon, 25 Mar 2024 06:01:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711371707; cv=pass; d=google.com; s=arc-20160816; b=Wa7tc1h1AlwYd5E6fJ/q8jJmHKRFtTqdhYRxc997YuGeuQ3Nwxel1C8kvFeiEDIdip 8ID7WrEEAFWJ4S9TYcN5D6Gsr91TsmC01X6Fds3sbsqJF/tz7sIQfKSDtzOF24SP0Rmu eWZRpABuGfNrJLhn465hyYrUoONWE7OGxyh5ru0APkqpam+507MU1zj00mOv1hUf18mL PrrIAEVX8i9qMlGP8LEQH99SaLCMB7d9bcYkj0SL5rj1n9nNBDpUfFZpAl5VzD2vZadC o1HGvnurCGgUTQtZzHxcQGb0STe7kG496XURxxv2WLItOi3eJo/dDU084LhrLo0g3tf9 t+qg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=toI4mTqWmCBIIOMscQyV4XPI8uLHxZ9RTRhH/wfKF9g=; fh=L6XEKJRVNn+QKA87wuFZyw0dkgwAzg+VxKvUhUNgtDQ=; b=ZUgq2r90S3N8o8zY3Ua8cSWTKhPe9M5t8JRtl8zNiQt6iIjeiEcurEXb8lr3JfzZpc iP+hK43t/ioJ2OXRrr7l/sn3bm/Ttoo+xX7sBJTuxgvMe3LFGlbh8m45I42YE4tUihre i2xBvLCXYndMkG+ffS8Z/2uGAU5l/L0aPEGuynzSffjM4mNV/Lm6P6nPrXmkWbJKwhaN 4BPWun/cC1lvXCPDhvGkpIqemEDE9WBcU0H3Gnfi/hI6GucV8uJHtzS0cU4IijTmwp0O 5AAI6G74IGHEIe9yn7kM4XdhdmOt17SP7D9jL4jl5RsrbRKNICSitiWiKs4tOyuHpcr6 ROPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="rNJjU9A/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116170-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116170-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id f7-20020a633807000000b005cfbdff9195si7514460pga.783.2024.03.25.06.01.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 06:01:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116170-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="rNJjU9A/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116170-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116170-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 5E086B61181 for ; Mon, 25 Mar 2024 10:21:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97D3A2904F8; Mon, 25 Mar 2024 03:33:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rNJjU9A/" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A67BD179FC5; Sun, 24 Mar 2024 23:42:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711323747; cv=none; b=OJD/uNAnJLWlzgF8w+KgfD1hrvwTr+DyiuA34hTLToInxrh6Mw5WupcFTsmeDH3Ga89DSpP8nvLkABYEyd0i+2iUJT3xtNOHhLTDu2DP8reFQBvGsTExyaUXUZrhZys0GZCCXFQvP5e7yiakiu+SoAw8jSiL2qJQn1Bmn7BnFsY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711323747; c=relaxed/simple; bh=AoArj+1hGuzNCr+nrz58oSeri64XTy1+7yEFmRMZjmc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HTnOGijOlME7cKwNQtNN4FoP9lQAJ4/2nTFM8pVEOEPZpN4n3D/f78Qrv30gl2EYqS7aq6KobhoXrYzed9IfkNVmxJ608y/C4XZGmAMEUwtLTPQX/kKouNV1iYhL6+0mVSER9Z7EQme4sGwv+bBnKLqmeJLk7o1ewpl88UwW5D0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rNJjU9A/; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D212EC43399; Sun, 24 Mar 2024 23:42:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711323746; bh=AoArj+1hGuzNCr+nrz58oSeri64XTy1+7yEFmRMZjmc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rNJjU9A/luGNUq6C5mOZPwiyvdNZ9Bte47HTu0zjIWPScX6QLKCsVTYdIHkMi/T6A R6+ExjoWMPOuNeUepBOP1Amop5joW7KjFK989VRP48RVL7rxwnVRkjDlJ9FlFeitk/ H4Ic4LZV2+GnLTIt65Hp26upwkf9CdxVzQAZ9jAFCj3/9Fi9jXLSQmH3c98JBTgQ/f njJB7iN99oWsQZiwri+bMbXCOZdhRSIfwCMfObCADpQCibEwtk3M5VotVA1SUi05CK ka0X3XP3JcPnq1NYTMhSXcLCu92MWYk7ItymQbwiUp/2sVkMwPinAqODJ2237PXEf6 l0S5aHAv4OFCQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Quentin Schulz , Quentin Schulz , Heiko Stuebner , Sasha Levin Subject: [PATCH 5.10 121/238] drm/rockchip: lvds: do not print scary message when probing defer Date: Sun, 24 Mar 2024 19:38:29 -0400 Message-ID: <20240324234027.1354210-122-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324234027.1354210-1-sashal@kernel.org> References: <20240324234027.1354210-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Quentin Schulz [ Upstream commit 52d11c863ac92e36a0365249f7f6d27ac48c78bc ] This scary message can misled the user into thinking something bad has happened and needs to be fixed, however it could simply be part of a normal boot process where EPROBE_DEFER is taken into account. Therefore, let's use dev_err_probe so that this message doesn't get shown (by default) when the return code is EPROBE_DEFER. Fixes: 34cc0aa25456 ("drm/rockchip: Add support for Rockchip Soc LVDS") Cc: Quentin Schulz Signed-off-by: Quentin Schulz Signed-off-by: Heiko Stuebner Link: https://patchwork.freedesktop.org/patch/msgid/20231120-rk-lvds-defer-msg-v2-2-9c59a5779cf9@theobroma-systems.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/rockchip/rockchip_lvds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_lvds.c b/drivers/gpu/drm/rockchip/rockchip_lvds.c index 1ffb2f710e4bd..96c13c182809e 100644 --- a/drivers/gpu/drm/rockchip/rockchip_lvds.c +++ b/drivers/gpu/drm/rockchip/rockchip_lvds.c @@ -572,7 +572,7 @@ static int rockchip_lvds_bind(struct device *dev, struct device *master, ret = -EINVAL; goto err_put_port; } else if (ret) { - DRM_DEV_ERROR(dev, "failed to find panel and bridge node\n"); + dev_err_probe(dev, ret, "failed to find panel and bridge node\n"); goto err_put_port; } if (lvds->panel) -- 2.43.0