Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp213186lqt; Thu, 6 Jun 2024 01:00:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWVb+TeOa9gB41ob80BrUuhiRCpCLgXob32KNQXFzxRJoxaQ0eKbD2yz81XXGgUtIsZja/nUo962MzIwN+7j836AYboIDqVCDixqeWGcw== X-Google-Smtp-Source: AGHT+IEDc1QtZGMFatOlkSbgmT+ucNew4Lsgxd01ZXJciuLsLcYkj6HF21wQzXhPOz/YhU+5d8SQ X-Received: by 2002:a05:620a:1792:b0:794:eb14:be95 with SMTP id af79cd13be357-795240e153fmr532871585a.70.1717660837660; Thu, 06 Jun 2024 01:00:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717660837; cv=pass; d=google.com; s=arc-20160816; b=xKB0052jJ3F0eVNENmlRSbl//ZVAbOGCil1Oaypb5hMmUgKfi2KthpLKiCVxOtV81b H99CiAC9D2jTA3mnZ1LW9Qq/021jJU7GJanvxShUyBjmT3edPnhS7FXyHW49hbODWGwW lp/5FPTbSn8nDO6E1Q5Xo3kPdEqUYV9ttxDMNZVGK+kPQ3zNj3pFpfSOtF+xNQUMoYmO k+Bt08AIfBuh0rx7DsCjHpzQhuxv/YQ3MeZgNSAy1KYpKboWqT/72c1/y9XwD2+ek37s EjGKnic4NQ2HFoHsqZi1ePsWBEWE/LYoJ8WHZy3By8rGWfBJMO5u3Tin84ma7ykndeoA AzWg== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=2w3JhfpwL0Tvop0IRVooZ6F1QlwSS/l8vdkwdoCQSuk=; fh=fW5BkP66xQTx4KGm/BmcDuvkGFpbKy27N2gWQKTvmIw=; b=OVkqhFWXA9cSTnERkdNeJ2rPiBCofzhG3Pr0d/MQ73aP2M115MsP4M1Iq/frUnJoB6 HIPTEziuFRdKkqgwHXdd/W8jijo/rBZGcNEDKzFmqLKZPpSlfHwHhP3MOOfLArtaxo7G hzYGrX1p27S48WiNL1odflbqtHg1p/+B6vlab0qRsBZXlCDObHZpqeQqpxDIMIzFN2s7 80zNPTcbDXD9BDdybv6OtWFub8y8Yt4W4Ww7yRv10GJ/NsiR6W/MKOQSMTS4djZcDc/v 8Q5NCPAzAilh6yPi1YtevE5M5PvSj7M6wSitLU44ykCYDCQn+ItioHFuzeqxr6mY1pDA HE5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@norik.com header.s=default header.b=gc02nB3m; arc=pass (i=1 spf=pass spfdomain=norik.com dkim=pass dkdomain=norik.com); spf=pass (google.com: domain of linux-kernel+bounces-203778-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203778-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-795331caceasi91294585a.253.2024.06.06.01.00.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 01:00:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203778-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=fail header.i=@norik.com header.s=default header.b=gc02nB3m; arc=pass (i=1 spf=pass spfdomain=norik.com dkim=pass dkdomain=norik.com); spf=pass (google.com: domain of linux-kernel+bounces-203778-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203778-linux.lists.archive=gmail.com@vger.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 608A11C24CD6 for ; Thu, 6 Jun 2024 08:00:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0B10713BC3F; Thu, 6 Jun 2024 08:00:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=norik.com header.i=@norik.com header.b="gc02nB3m" Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (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 007BBDDD2; Thu, 6 Jun 2024 08:00:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717660815; cv=none; b=eOO7EFZsoPq6m32wzGSFL4PLAUKNm2lH0/sJiuN69VedD3pkXPBNhBOAZuONb26nt0TKYiT8v8zEc9eATafsBhK3dKZh34S7Pr5BNGOSeIdqkSiuwChNDzonFfz3zf7ITrsSLyFGJ2sI4VnWbNZfEjvlUuqw7Ck8XBhUF4scoCQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717660815; c=relaxed/simple; bh=Ak1BS+N2hxN31gVoTINk9MkwbzX3wDaas+UKq8Y0N+Y=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=oOkRv/JW/oyOfhBVMgVBPKuHw8M5/YvQv7pj9vonpAG7cJ+nLJJVruDrfCWR3EWYA/7oOJehquIL8haIifCu/cCocSTxu+P1K3xA6Xegj2DMEbUlOcFoU3Wh+k69V64GmowbYurxGg1LhPBV16ejVkXLrGmG5rvsA71Z1QU7gmo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=gc02nB3m; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=2w3JhfpwL0Tvop0IRVooZ6F1QlwSS/l8vdkwdoCQSuk=; b=gc02nB3mxbwZZjvNel5sOKAvHz Uq61HZWhCMY4KlHGmkl87C2s2N9Qhqana3xNSWZAAvuQo0bdotXV7e3OeXxL7O+mGpzkSBo84zzh/ Ycad7ATmYdxsASaroMgps1HAALNI3R/7OhX9kMCxIT+ETJqgu+1K68Y0Yd3bNpiyb30XGvkq3VyqC 6QXrm2MPYMgQYom7JRcctVvTrdaAVqDhj4Jsdde9e9xs24ebeTMaPvoEI12BYGwCWJCcnDrFBX3r3 CAtjVeI5kXYL9Psbly50khY/Gx+y1r803cq1lrs9/JpZZCAVqNKZFLbChMc/Ly+cLYqqEcAi6I2h8 Q33eVyaA==; Received: from [89.212.21.243] (port=47232 helo=localhost.localdomain) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1sF75E-00BLkc-39; Thu, 06 Jun 2024 08:58:48 +0200 From: Primoz Fiser To: "Rafael J . Wysocki" , Viresh Kumar , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: upstream@lists.phytec.de Subject: [PATCH] cpufreq: ti-cpufreq: Handle deferred probe with dev_err_probe() Date: Thu, 6 Jun 2024 08:58:47 +0200 Message-Id: <20240606065847.3499145-1-primoz.fiser@norik.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: primoz.fiser@norik.com X-Authenticated-Sender: cpanel.siel.si: primoz.fiser@norik.com X-Source: X-Source-Args: X-Source-Dir: Handle deferred probing gracefully by using dev_err_probe() to not spam console with unnecessary error messages. Fixes: f88d152dc739 ("cpufreq: ti: Migrate to dev_pm_opp_set_config()") Signed-off-by: Primoz Fiser --- drivers/cpufreq/ti-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/ti-cpufreq.c b/drivers/cpufreq/ti-cpufreq.c index 714ed53753fa..5af85c4cbad0 100644 --- a/drivers/cpufreq/ti-cpufreq.c +++ b/drivers/cpufreq/ti-cpufreq.c @@ -417,7 +417,7 @@ static int ti_cpufreq_probe(struct platform_device *pdev) ret = dev_pm_opp_set_config(opp_data->cpu_dev, &config); if (ret < 0) { - dev_err(opp_data->cpu_dev, "Failed to set OPP config\n"); + dev_err_probe(opp_data->cpu_dev, ret, "Failed to set OPP config\n"); goto fail_put_node; } -- 2.25.1