Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tzung-Bi Shih and committed by
Chanwoo Choi
46674314 a4b3c62f

+2 -2
+2 -2
drivers/devfreq/devfreq.c
··· 382 382 devfreq_notify_transition(devfreq, &freqs, DEVFREQ_POSTCHANGE); 383 383 384 384 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"); 387 387 388 388 devfreq->previous_freq = new_freq; 389 389