diff options
author | Shirish S <shirish.s@amd.com> | 2021-02-25 18:37:21 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-02-27 01:23:49 +0300 |
commit | e0cd93b7e307cf6920fbc699df04d073c9004c22 (patch) | |
tree | c3f8c0a4adeeedc796f9e7c6aaad557319a5bbd2 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | e9995d4a3026b104724700397ee9db4cd75445dc (diff) | |
download | linux-e0cd93b7e307cf6920fbc699df04d073c9004c22.tar.xz |
amdgpu/pm: read_sensor() report failure apporpriately
report -ENOTSUPP instead of -EINVAL, so that if userspace
fails to read sensor data can figure it out the failure correctly.
Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions