Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp244909lqt; Thu, 6 Jun 2024 02:13:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWjpl2JzKWKA9cW8F2koVAlpkh+G1QhtflefB7cioZQLfNL3TJgTI7V0ToxawJbJ5kbtOQ+nevOfxF09EV0eqG7i2OKFnv1wdgT5+JLOw== X-Google-Smtp-Source: AGHT+IHedQ4HTV52koN1WfPTQQB6oBZRrozADRCId53xI64JswfwsmJhjOqES2x5gISDQIcn7mtF X-Received: by 2002:a05:6358:2a9:b0:19c:5226:e2b0 with SMTP id e5c5f4694b2df-19c6c8fd12dmr534158855d.24.1717665237358; Thu, 06 Jun 2024 02:13:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717665237; cv=pass; d=google.com; s=arc-20160816; b=ftJEIMIJ3ddrGiBfRU/sXFnOSPXDFxkrawGZffbbJcNOxY/s3TH14wy5q3jixYyXAO 8douilIUV38As3QIm/fNfHSRO5UXS2WSLdYnm5pAUbbbb5YG45P5wTj+C2VuYCeCi7xB 7F7nE6BvWrpBABSDMf81xCNDI1oO3JplVyCnA8YOsEy0WL/kbTKNaMPdJ/SVjHFpWQY7 9RRFpRr2CVo1ULvmcFj3f1uRwM4AEERQpVbmqsgXn3HG+mE09SBdQdcvs1fTHFAmUvm6 Q/VzgWY7z6nRIsBrKV55sjvig4WJkz1NgtdQ/PuMjk4xrT8hwbSmwKQV43/m/464veuX LqBg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=34i9c6SrAxbvVIYSgNgR0QRNfSIYZYsCpLD0yBLi1hk=; fh=DWTWgesPS9IMB/YTYrMU2TWNdLuG7vMGQcpEZBA3BW0=; b=o++zDbPcY9cchG/jTwUEkbP1ZjGX/YSjYL5/HVsiW10xPrM1xvAUabMAsLP2MQh9/x a+clEd7vJAB2cYCKO+Zc/zwnOI5dm2qROJrPAf/GOi0DI4gtP+tsz2szlH8alYW0D8s4 z8LlcKO9RspT5jnBGuJObYH9O1igjZt8nbbpNj0KT9/LKRBIIn6NhPreKf6K6Lhvqonu 24CRPpLd1C4Z924+7K0+cdPE9YUypDIEmOzAZ4YVEqVBtngYI9xVGE0OWilNKljm1epU L0Lq7ewR7VqQ9kMWrerFKK1eiJrsVvnxKYS/6Gg7NUreGyA9qijqg0FbXyjoIL7sIyVH 0S9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Okd0t8ai; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-203920-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203920-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de2197214esi827579a12.211.2024.06.06.02.13.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 02:13:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203920-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Okd0t8ai; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-203920-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203920-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 C6ED128A751 for ; Thu, 6 Jun 2024 09:05:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7847913BAC5; Thu, 6 Jun 2024 09:00:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Okd0t8ai" Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 45724168A9 for ; Thu, 6 Jun 2024 09:00:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717664442; cv=none; b=J8PUKs0gFCI/H3LpvmLDPohPdja+V/QoYlThP7/wpAnqNYWhZlCOvXPjMaP3+XVOHixJfS5m4P2qS1XLTd2+alRquZ/E1+LxWKoR2x+5C4R5dWAfPU9EyuWIS4hxhmZROM0afY1/fgVc/NtSVXa9CEFsr3XYyWZk29YaxVknyAs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717664442; c=relaxed/simple; bh=Z2zgMXfJmu27DbOj5JrH6qEdmkT1Emg/49JfaZUY2TM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QD1yl8hRt5AIL4QT/4wc61ajKh9fvJU34JsPTuioFLXR4VyRAaEDCLHGLsSqf5GBQYAiRuANYDYHmvD5JhD7z022DUbbsb2nrrqa8At3NPq//psA9oXIdzOJ7M8MDMPLOfHftHPqNYWluofhxBL6utzLsTXRCtq1RXbpbxWDFhM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Okd0t8ai; arc=none smtp.client-ip=209.85.214.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1f6c7cdec83so565255ad.0 for ; Thu, 06 Jun 2024 02:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717664440; x=1718269240; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=34i9c6SrAxbvVIYSgNgR0QRNfSIYZYsCpLD0yBLi1hk=; b=Okd0t8aidCFhu1ENkKHcnWVHej+OywJtnjCaBg1cfxRlaItm0jN0YpKuoeh1cDV+Du 7Klt5iU7VX5PqURvDKuDGSZh/Jhsgragbo6px1JalwRypQpSjuQ396Cy+xX/5ChYrNhO SYVSBfbNPvoBRGHTXUNuO+bPrdbXIpOmjqOzzPzH7nkXTH8GNSTN33thOSGqoGTzvGSZ PPj9uY+bCeW7yugn49g0IEj5BF6uNOf4e5F94WKY1VR1kzh48trunMcX6eXAHXFxVZ4j 7uhdN36APGbchVdD+18WQ8HEtbZRsUjtH/H/I19JrxOifNX6i1Q3rEmxLEFEJkQvj2zo gbrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717664440; x=1718269240; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=34i9c6SrAxbvVIYSgNgR0QRNfSIYZYsCpLD0yBLi1hk=; b=UIa+jOUnaEWV1nQ8xllNcwQWC5lRMle4bH8eP3lbBmg4AR7KQufV6qCvLPHWltfSYU UaZt9WwO+aTLSlxvesrj5EhHVRlVgG99E8DcF6qKHaoiQggrdPv2kxerCZyc9ZtTUHsn 8/BwADFpY/f3xCR1v0rT+qxCer0eu1Yso5vKppA5+/2Ohih3bvOclgox9LM+dOxIF1pk xNKjwLJ8Kii1B7bjTF98CS3kuglLN8r+CbbCGbEOqkLtSD6KyrPJ9GQpI+PbL6B6Yn7N Q0Lq8gEZaJTQOm7KaskGzpnSY2l/zRy4Od7modq6xGW2NtN7+pKNKuNWefpyfZumvA1S I77g== X-Forwarded-Encrypted: i=1; AJvYcCU21IHhHigTFeYns30jMaBwp02SXrN+wGsdbFn6iOvbITOudWTwFTQhbCUbOjgISCmjkNjFGxVzO7IHdALwfvI0ruA1HJX4BJujyRFj X-Gm-Message-State: AOJu0YxAGF1Uhz0551wczFsnnm8BD1KmRRBIK0o1f/dgxBotp7JqXX4z 0padLwNyG0vWWIv5gXQkRSkpDqzWFCDohQrkWBfBsgABnLPEpl6k6jZ6GOBFZQg= X-Received: by 2002:a17:90a:8c94:b0:2c2:8655:1742 with SMTP id 98e67ed59e1d1-2c28655180fmr3826407a91.11.1717664440343; Thu, 06 Jun 2024 02:00:40 -0700 (PDT) Received: from localhost ([122.172.82.13]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c2806d2936sm2943926a91.53.2024.06.06.02.00.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 02:00:39 -0700 (PDT) Date: Thu, 6 Jun 2024 14:30:37 +0530 From: Viresh Kumar To: Primoz Fiser Cc: "Rafael J . Wysocki" , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: Re: [PATCH] cpufreq: ti-cpufreq: Handle deferred probe with dev_err_probe() Message-ID: <20240606090037.2v3sl72rjfzzk4k7@vireshk-i7> References: <20240606065847.3499145-1-primoz.fiser@norik.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240606065847.3499145-1-primoz.fiser@norik.com> On 06-06-24, 08:58, Primoz Fiser wrote: > 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; > } Applied. Thanks. -- viresh