Skip to content
Commit e0cd93b7 authored by Shirish S's avatar Shirish S Committed by Alex Deucher
Browse files

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: default avatarShirish S <shirish.s@amd.com>
Reviewed-by: default avatarEvan Quan <evan.quan@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e9995d4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment