Skip to content

Commit 4667431

Browse files
Tzung-Bi Shihchanwoochoi
authored andcommitted
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>
1 parent a4b3c62 commit 4667431

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/devfreq/devfreq.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,8 @@ static int devfreq_set_target(struct devfreq *devfreq, unsigned long new_freq,
382382
devfreq_notify_transition(devfreq, &freqs, DEVFREQ_POSTCHANGE);
383383

384384
if (devfreq_update_status(devfreq, new_freq))
385-
dev_err(&devfreq->dev,
386-
"Couldn't update frequency transition information.\n");
385+
dev_warn(&devfreq->dev,
386+
"Couldn't update frequency transition information.\n");
387387

388388
devfreq->previous_freq = new_freq;
389389

0 commit comments

Comments
 (0)