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

Configure Feed

Select the types of activity you want to include in your feed.

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>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>

authored by

Christian 'Ansuel' Marangi and committed by
Chanwoo Choi
e52b045f 57e00b40

+3 -2
+3 -2
drivers/devfreq/devfreq.c
··· 932 932 err = devfreq->governor->event_handler(devfreq, DEVFREQ_GOV_START, 933 933 NULL); 934 934 if (err) { 935 - dev_err(dev, "%s: Unable to start governor for the device\n", 936 - __func__); 935 + dev_err_probe(dev, err, 936 + "%s: Unable to start governor for the device\n", 937 + __func__); 937 938 goto err_init; 938 939 } 939 940 create_sysfs_files(devfreq, devfreq->governor);