Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1929883pxu; Sun, 13 Dec 2020 07:56:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJy/W7I+ePGYqfE7MdOHu+JgwIwClJy7XGfxfPWZKiZvEVFeGNd/sDuS9X9raESq64fof1yo X-Received: by 2002:a50:e688:: with SMTP id z8mr21573764edm.129.1607874989086; Sun, 13 Dec 2020 07:56:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607874989; cv=none; d=google.com; s=arc-20160816; b=B1d/JgfJaTJOJifPOMfhnTzOOvAy7mG5TMpAkLqsi6es8YM0jHaItORusSnJugNMOr 5Rzf2fjpWO0HfDrQkY0jg7Es3qpiw6CqaavaKO2wYA2vLCohxGUOPu383BRAFoX1DBO9 riX0P5DM7ZFxutpdmPxcT1+1vZuGdxeNYuyNrJY5kgFqSeFUNxxe/VYFdH4Ez5wZpBrl CHGz383w/MfsSIfD+16/XUUAIPcfH6Ab1p52LqX04G1cIz7dJesYvXWhsX/zhymiftew XC7/yRAZMdNn9RkowoDsSvX2cStNqsjlg2trwQSghg8rOnidL2s2GGeWuM5ULqsmhYDh 1dVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=f7gQS0JgxXKE6zZWtNEgv7ff57pkF4CQnP+MDnLjUWM=; b=G3T5sB4QGznPax48D840JVlenIsWI9KPvtGvNTSZUvYC6Ou7g5xhrLLAY2itDQkYdv 1IN7iZg0JAjHcGuSrDYr5UgL0/jWcAxItB6GtRzf3NguFlUthoA6w9u+QT/IT1i+HI55 g4I4JEzJiRacdC1TxIO29rVmRWNQ0ionqgo/ED9etXxi9fPlEnugBpoXG6ZKojxVHq0l 0DkFptZUq29j3InOJ6B5521o7YpAzMIbK/hibnBRZpZQaKk16/29sjRnFLSdaFPL3aC5 cfHJUR5oUZ/KYEU3A016SGSnpddeST2lC+YDqL1RLU3S8E+Y/vLSVMKsRZDe7omx54XV KGWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ga12si8004646ejb.522.2020.12.13.07.56.04; Sun, 13 Dec 2020 07:56:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439417AbgLLQKH (ORCPT + 99 others); Sat, 12 Dec 2020 11:10:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:56964 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725802AbgLLQIu (ORCPT ); Sat, 12 Dec 2020 11:08:50 -0500 From: Sasha Levin Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Jon Hunter , Thierry Reding , Sasha Levin , dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org Subject: [PATCH AUTOSEL 5.9 01/23] drm/tegra: sor: Don't warn on probe deferral Date: Sat, 12 Dec 2020 11:07:42 -0500 Message-Id: <20201212160804.2334982-1-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jon Hunter [ Upstream commit cb7ff314e1d9f3d6c62fa2c392e41174721ed0b3 ] Deferred probe is an expected return value for tegra_output_probe(). Given that the driver deals with it properly, there's no need to output a warning that may potentially confuse users. Signed-off-by: Jon Hunter Signed-off-by: Thierry Reding Signed-off-by: Sasha Levin --- drivers/gpu/drm/tegra/sor.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c index 45b5258c77a29..5d9a7f008fc6c 100644 --- a/drivers/gpu/drm/tegra/sor.c +++ b/drivers/gpu/drm/tegra/sor.c @@ -3759,10 +3759,9 @@ static int tegra_sor_probe(struct platform_device *pdev) return err; err = tegra_output_probe(&sor->output); - if (err < 0) { - dev_err(&pdev->dev, "failed to probe output: %d\n", err); - return err; - } + if (err < 0) + return dev_err_probe(&pdev->dev, err, + "failed to probe output\n"); if (sor->ops && sor->ops->probe) { err = sor->ops->probe(sor); -- 2.27.0