From patchwork Sun Sep 24 19:26:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 13397071 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 C97F8CE7A91 for ; Sun, 24 Sep 2023 19:26:54 +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=F8RaJKmrk1QfcfeomX+PqTP0rvqBSoSGexqEhRj6mjM=; b=qlL+vyO01AMP1l Tw/RTnTIAQ6AblouepS1hLKHvDEeSotU97wLzWiVKq4iJwDkpddTqWKz2yHzQO12ZPZVl7YA4ZR6S Ap7HkMcoAz5nAa/yz5HSz0XtT0OAo7thdFXJH3kd+L5Br1jgnF3kpabxKSSEYvTdM35lHeyG9h3SA o+WhHSuodtpnLfgfn5DsxAyJUKfIOv7/zUi8G2siSb9UXb/7Rig4TNHaFHRehIYZ2xJ1HnaKgKfXD BoobByjmOGPpH9r9w8K5VxkJlLmS4RSwNT+P47S+jhVG7jmDYeExC6i61AH0XkRMurMLdc4BPQlMx p8AKqPny4rhMaVgxx/Xg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qkUkL-00CgYl-1e; Sun, 24 Sep 2023 19:26:25 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qkUkE-00CgV0-1D for linux-arm-kernel@lists.infradead.org; Sun, 24 Sep 2023 19:26:19 +0000 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-9a648f9d8e3so672055966b.1 for ; Sun, 24 Sep 2023 12:26:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695583576; x=1696188376; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=P67yQ9/R8vP33MNrFu8s/BR4RgUF4Oo7AxmSI7wtbGo=; b=LP6ZO9TXV35e9J88wnyYt3kpgEU9W491Dv/uoHw2dN0NavZIvElJKWlQfHbFNdevFb qKmltdkYmCXRQOPK76aeL6Z0B/oEy0fNG6E4b8RM+0a1ykvPSLS7oqRHz/hEe7DiJiox K6inz2QhVAcRhORPKOzp7xVESpXyC5pzSsivSZ8bYbZYaese7RbGSLQYwG+yrWnCYKqD wzg49xcf08rs+HCKwPpvCyI9lUJ6gs2/Eh0Zo0SIm8Ij4aJZHjuoHWJI/+SdUC0ymlAu U4rfea05sBl6vZu7f6A3PyIqrH4e9t5Ksp2zjo9Z8xtRUipGdstQqhBdilYXMQGI2jqC cy8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695583576; x=1696188376; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P67yQ9/R8vP33MNrFu8s/BR4RgUF4Oo7AxmSI7wtbGo=; b=RfyNs1+7vCHdZf1BIEtmJGfrwLIjw2wso/iGklj+F4QPe1EQEpYF0TVGQXslZVWbr8 rzMWRdajI8zi+R7h3hQgJsZcNJ3MhkU2Wg6xh65MXb7YUYdXVt+U78t64FI8J/3EL5bn viHoXd81PxpgrMFnBJeiSmx4ZF/K/srfFQjEZfmSAvkD0/jRtF6jvL8thmptJugMNpql h2eBytPlDRcJNfvVmX+yTf8dlnl+zQBuDhwp50hDUYOaM5OqmSJL7M8mD4GSP8SFOwL7 njfN3RZTB6RcJYDI7KgHwl03LPE46u3su/ahMbtkeSMih4sfAbVFxUd0T1hFuridd/Er OjAQ== X-Gm-Message-State: AOJu0Yy6BiBZqS8MsZFRsiUh7gWiCFWmxm6Apx0orRXFAqy+ep1a2iLO OmpXHVODBULKY+ateJS+Y8E= X-Google-Smtp-Source: AGHT+IGYcIjckD309lYilHv1Z7GzrnSkK3WVyjDqrq0qtPDgxT6RI3OTizpfVXr1WSEMocNk7yTMyQ== X-Received: by 2002:a17:907:775a:b0:9b0:169b:eee2 with SMTP id kx26-20020a170907775a00b009b0169beee2mr4068950ejc.10.1695583576620; Sun, 24 Sep 2023 12:26:16 -0700 (PDT) Received: from localhost.localdomain (82-149-12-148.dynamic.telemach.net. [82.149.12.148]) by smtp.gmail.com with ESMTPSA id z21-20020a1709063a1500b0099d0c0bb92bsm5317632eje.80.2023.09.24.12.26.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 12:26:16 -0700 (PDT) From: Jernej Skrabec To: mripard@kernel.org, wens@csie.org Cc: airlied@gmail.com, daniel@ffwll.ch, samuel@sholland.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Jernej Skrabec Subject: [PATCH 4/7] drm/sun4i: Don't show error for deferred probes. Date: Sun, 24 Sep 2023 21:26:01 +0200 Message-ID: <20230924192604.3262187-5-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230924192604.3262187-1-jernej.skrabec@gmail.com> References: <20230924192604.3262187-1-jernej.skrabec@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230924_122618_417065_25E94B32 X-CRM114-Status: GOOD ( 10.98 ) 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 Drivers probing in display pipeline can be deferred for many reasons. Don't print error for such cases. Signed-off-by: Jernej Skrabec Acked-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/sun4i/sun4i_drv.c index 6a8dfc022d3c..b4816a1b0be3 100644 --- a/drivers/gpu/drm/sun4i/sun4i_drv.c +++ b/drivers/gpu/drm/sun4i/sun4i_drv.c @@ -88,7 +88,8 @@ static int sun4i_drv_bind(struct device *dev) ret = component_bind_all(drm->dev, drm); if (ret) { - dev_err(drm->dev, "Couldn't bind all pipelines components\n"); + dev_err_probe(drm->dev, ret, + "Couldn't bind all pipelines components\n"); goto cleanup_mode_config; }