aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorIrina Tirdea <[email protected]>2017-04-04 20:04:11 +0300
committerRafael J. Wysocki <[email protected]>2017-04-19 23:22:00 +0200
commit54cad2fce71f3ed2995bfc6d17d4ea5c898f20b1 (patch)
tree1a432707c1de9364572885061659723e661f6ff6 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentc97ad0fc4f075a9c1ba669963cfd4da062bbb683 (diff)
cpufreq: imx6q: Fix handling EPROBE_DEFER from regulator
If there are any errors in getting the cpu0 regulators, the driver returns -ENOENT. In case the regulators are not yet available, the devm_regulator_get calls will return -EPROBE_DEFER, so that the driver can be probed later. If we return -ENOENT, the driver will fail its initialization and will not try to probe again (when the regulators become available). Return the actual error received from regulator_get in probe. Print a differentiated message in case we need to probe the device later and in case we actually failed. Also add a message to inform when the driver has been successfully registered. Signed-off-by: Irina Tirdea <[email protected]> Signed-off-by: Leonard Crestez <[email protected]> Reviewed-by: Lucas Stach <[email protected]> Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions