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>
This commit is contained in:
parent
a4b3c62fd0
commit
4667431419
1 changed files with 2 additions and 2 deletions
|
@ -382,8 +382,8 @@ static int devfreq_set_target(struct devfreq *devfreq, unsigned long new_freq,
|
||||||
devfreq_notify_transition(devfreq, &freqs, DEVFREQ_POSTCHANGE);
|
devfreq_notify_transition(devfreq, &freqs, DEVFREQ_POSTCHANGE);
|
||||||
|
|
||||||
if (devfreq_update_status(devfreq, new_freq))
|
if (devfreq_update_status(devfreq, new_freq))
|
||||||
dev_err(&devfreq->dev,
|
dev_warn(&devfreq->dev,
|
||||||
"Couldn't update frequency transition information.\n");
|
"Couldn't update frequency transition information.\n");
|
||||||
|
|
||||||
devfreq->previous_freq = new_freq;
|
devfreq->previous_freq = new_freq;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue