diff options
author | Tzung-Bi Shih <tzungbi@google.com> | 2021-12-14 07:31:00 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2021-12-16 03:29:54 +0100 |
commit | 4667431419e93b63b4edfe7abdfc96cefcbcc051 (patch) | |
tree | 7e0918d135024efbbf568a5f6f2912b22b49fa1b /drivers/devfreq | |
parent | PM / devfreq: sun8i: addd COMMON_CLK dependency (diff) | |
download | linux-4667431419e93b63b4edfe7abdfc96cefcbcc051.tar.xz linux-4667431419e93b63b4edfe7abdfc96cefcbcc051.zip |
PM / devfreq: Reduce log severity for informative message
Suppose devfreq_update_status() failure in devfreq_set_target() is not a
critical error, reduces the log severity.
Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/devfreq')
-rw-r--r-- | drivers/devfreq/devfreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index 7906220d025c..a525a609dfc6 100644 --- a/drivers/devfreq/devfreq.c +++ b/drivers/devfreq/devfreq.c @@ -382,8 +382,8 @@ static int devfreq_set_target(struct devfreq *devfreq, unsigned long new_freq, devfreq_notify_transition(devfreq, &freqs, DEVFREQ_POSTCHANGE); if (devfreq_update_status(devfreq, new_freq)) - dev_err(&devfreq->dev, - "Couldn't update frequency transition information.\n"); + dev_warn(&devfreq->dev, + "Couldn't update frequency transition information.\n"); devfreq->previous_freq = new_freq; |