Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2526914lqp; Mon, 25 Mar 2024 01:11:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWFDzLmmNQtL7enI0shKb/KU4OMDqXEITXAdXFqcHiWnr8itTvVbCoBNvW0guuRWQiIRVwBGEGrv0HCFNXB7Wne0J44wf6j8f2iS1U8Tw== X-Google-Smtp-Source: AGHT+IHCEyon+zyxe8/X+b2JFJUJQ20hBUcuQhXf+GC9NsYAX6pI7iAZONG6uYsamHz1WfhtTGKS X-Received: by 2002:a05:6a00:2347:b0:6e6:a113:da0d with SMTP id j7-20020a056a00234700b006e6a113da0dmr8937515pfj.3.1711354277430; Mon, 25 Mar 2024 01:11:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711354277; cv=pass; d=google.com; s=arc-20160816; b=OKaSgXjVFPh7pOhW4jjuhaZ/+9XjFDKrp0yLplXgWyqgZr1JX6sfP2SxJwmBxvo6En 5l/+CbiCgd/QjlWvN2WaL8I3xKw+BlaGNqjev4sbGPbnV7wnHVMZLGo8CkXnsVVhmIF1 saJpqY9CWEwyh0e7f2733lvzN6o6jICE2fhgNczEwwdfYTnapy0zckrXXFEc5cSJ/hnn aEqPU6DI3QqGo7B6cD3SXL/cA93+tbntQpe4K5UL+v6Uv80cRwOp3TX4PSDe5FlwCo8V HxzOt45sBk9N8Nchitl2m1c1uxcPjNAwNsX4oIwWBWbmkaYqRnvC49MwiJKUO5zpJ1g3 7y3g== 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=f4iRdYGw6Fy5Rh2GUnKoWxBsoj/49ukNmWLHidDQJWU=; fh=L6XEKJRVNn+QKA87wuFZyw0dkgwAzg+VxKvUhUNgtDQ=; b=pt6uPggogg9Cl3G+z9KJhau5TpWMjpTYYKJLYVT59iP6Gp1y6P/6Pg+8Hr5B3gAaYr R0ssi3h6uw5zRUm2qWZHyjz6WZ/G9qVt51Gk8ghuki6ckvhiJmUg363ErYyI+UCBYG9l JsZEMwJqxiwucGiceWV3wuztMMLiL5wZWDNUrvegj4y0aqge7Zw+jABs+taoUSyguYpK 1M7gyw5v5ZvG/Cj7fqzyfNHA/RzYhUzcNelVP4x2Mvbk7nDaQGbVC5/lR2YMqcYHc9x6 wjwMHq28XAN0DGgwAW7r4OJmMyI0xsjMrl4j2pB86nDEYS1DRgrp71he5ROj+bh2umLI PhUg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aGjqGG+p; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115945-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115945-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i12-20020a63540c000000b005dc82a6d761si6951544pgb.123.2024.03.25.01.11.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 01:11:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-115945-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aGjqGG+p; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115945-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115945-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id EDD73296709 for ; Mon, 25 Mar 2024 08:11:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 971D5390949; Mon, 25 Mar 2024 03:04:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aGjqGG+p" 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 E5C6522BBE3; Sun, 24 Mar 2024 23:16:09 +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=1711322170; cv=none; b=OdMY8mcMJXCYL82I+THkWvZxRcfX0+/khtv63HC6sdMm7wx2QSqO5A4wRoCQoDkcoh+7w1qj8vbC48+Ie5B2AoJxtpVos9dJZg1otbL55lbZHmIcyxjklEeqmHhMl/V8UQZhwikUZLoQlw5pwPIxAXLW62q8mKQ/YgbfdLj8aJM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711322170; c=relaxed/simple; bh=HMi0+x9nx54yQycau/GhhoDRdzUG5BNhX56pSJ+Iofc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IMsbnOLKBUNiBRqyyaGafZfNuiEdzZb2rbCmEHx5FDT1RzTMACeNVE+dM70SskWaoxkebZUQkVSo6cpkw/AozBF7pA124rmqu122Idb/3rr3xkS9jGd8duSMYJXuodWI+WRosIlZHMLT4QiBnGWpsM+IbGB8D3SO6zUCAoGh7WE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aGjqGG+p; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1DF35C433C7; Sun, 24 Mar 2024 23:16:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711322169; bh=HMi0+x9nx54yQycau/GhhoDRdzUG5BNhX56pSJ+Iofc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aGjqGG+pQMkGoQXONQ3TDW7JWzjHHdSwndG23SP6v24mDUR1kLlKd5a17ardUkPyX GMaJP8c/gAWseJMiKFb93YVvpTmtW46JyDp2A15rN85zRW5FPqHj/khcGdRSBaNl74 D+xzI1eefPwXAt5PAi/MZvOTH7PieV1ChhGZD/ksgLev5yoxZWG2TTcKIU3FbtFtON JOf8kcBDbZYmY1R0lvy2sbYEL52Up+Xo/jM5FnNbMIYSsTDufrYbRQoh5UqNLjdJ3F rT0ORADPPX9HRl+Uc4vxU3prZyzKWnr2Ag86Nkl5Es5t62Qhs2FAE5xcYImPfTfFum /UjrkaJc1zJpg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Quentin Schulz , Quentin Schulz , Heiko Stuebner , Sasha Levin Subject: [PATCH 6.1 248/451] drm/rockchip: lvds: do not print scary message when probing defer Date: Sun, 24 Mar 2024 19:08:44 -0400 Message-ID: <20240324231207.1351418-249-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324231207.1351418-1-sashal@kernel.org> References: <20240324231207.1351418-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 1fde888cdd827..eb4a108c5bd2a 100644 --- a/drivers/gpu/drm/rockchip/rockchip_lvds.c +++ b/drivers/gpu/drm/rockchip/rockchip_lvds.c @@ -577,7 +577,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