commit | af4214c3fb5f06d96b959748d8f421c82ce76f0b | [log] [tgz] |
---|---|---|
author | Brendan Jackman <brendan.jackman@arm.com> | Mon Oct 10 12:27:34 2016 +0100 |
committer | Brendan Jackman <brendan.jackman@arm.com> | Tue Oct 11 14:28:58 2016 +0100 |
tree | 2483894e582e00c66ddf8a4e493edce0a1ef0765 | |
parent | 1cc6ddf140a7ab055830cf42c8cdaceb4b2ec017 [diff] |
cpufreq: Improve error when setting all CPUs to unsupported governor Currently when using set_all_governors to try to set an unsupported governor, the error is a somewhat cryptic "sh: echo: I/O error". Add a check that diagnoses this error. In order to avoid slowing down the "good" path, the check for unsupported governors is only done if the failure has already occured.