mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
843e3dace7
Removed upstreamed: generic/hack-5.15/290-net-dsa-mv88e6xxx-depend-on-PTP-conditionally.patch[1] Build system: x86_64 Build-tested: bcm2711/RPi4B, filogic/xiaomi_redmi-router-ax6000-ubootmod Run-tested: bcm2711/RPi4B, filogic/xiaomi_redmi-router-ax6000-ubootmod 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.87&id=945e58bdaf6faf6e3f957d182244fa830acddab4 Signed-off-by: John Audia <therealgraysky@proton.me>
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
From eee9f767c41b03a2744d4b0f0c1a144e4ff41e78 Mon Sep 17 00:00:00 2001
|
|
From: Christian 'Ansuel' Marangi <ansuelsmth@gmail.com>
|
|
Date: Mon, 6 Jun 2022 13:01:02 +0200
|
|
Subject: [PATCH v4 4/4] PM / devfreq: Mute warning on governor PROBE_DEFER
|
|
|
|
Don't print warning when a governor PROBE_DEFER as it's not a real
|
|
GOV_START fail.
|
|
|
|
Fixes: a03dacb0316f ("PM / devfreq: Add cpu based scaling support to passive governor")
|
|
Signed-off-by: Christian 'Ansuel' Marangi <ansuelsmth@gmail.com>
|
|
---
|
|
drivers/devfreq/devfreq.c | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
--- a/drivers/devfreq/devfreq.c
|
|
+++ b/drivers/devfreq/devfreq.c
|
|
@@ -930,8 +930,9 @@ struct devfreq *devfreq_add_device(struc
|
|
err = devfreq->governor->event_handler(devfreq, DEVFREQ_GOV_START,
|
|
NULL);
|
|
if (err) {
|
|
- dev_err(dev, "%s: Unable to start governor for the device\n",
|
|
- __func__);
|
|
+ dev_err_probe(dev, err,
|
|
+ "%s: Unable to start governor for the device\n",
|
|
+ __func__);
|
|
goto err_init;
|
|
}
|
|
create_sysfs_files(devfreq, devfreq->governor);
|