Patch "cpufreq: ti-cpufreq: Handle deferred probe with dev_err_probe()" has been added to the 6.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    cpufreq: ti-cpufreq: Handle deferred probe with dev_err_probe()

to the 6.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     cpufreq-ti-cpufreq-handle-deferred-probe-with-dev_er.patch
and it can be found in the queue-6.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 10f958a46d1de27588d7f4b35dd88ec783879330
Author: Primoz Fiser <primoz.fiser@xxxxxxxxx>
Date:   Thu Jun 6 08:58:47 2024 +0200

    cpufreq: ti-cpufreq: Handle deferred probe with dev_err_probe()
    
    [ Upstream commit 101388b8ef1027be72e399beeb97293cce67bb24 ]
    
    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 <primoz.fiser@xxxxxxxxx>
    Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/cpufreq/ti-cpufreq.c b/drivers/cpufreq/ti-cpufreq.c
index 714ed53753fa5..5af85c4cbad0c 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;
 	}
 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux