diff options
author | 2016-07-12 14:31:23 +0800 | |
---|---|---|
committer | 2016-07-15 12:33:52 -0400 | |
commit | bec5f70dad45f7ad63f97aa0988821532ebeade7 (patch) | |
tree | 54b4eb672d50af85c535babd81283efc216d6c74 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | drm/amd/powerplay: add atomctrl_get_voltage_evv function in ppatomctrl (diff) | |
download | wireguard-linux-bec5f70dad45f7ad63f97aa0988821532ebeade7.tar.xz wireguard-linux-bec5f70dad45f7ad63f97aa0988821532ebeade7.zip |
drm/amd/powerplay: fix the incorrect return value
The return value 0 (false) means fail to find GPIO in
atomctrl_get_pp_assign_pin. "-1" returns true as bool actually.
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions