Commit a5600853 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amd/pm: fix error flow in sensor fetching



Sensor fetching functions should return an signed int to
handle errors properly.

Reviewed-by: default avatarSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reported-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7caebc8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment