summary refs log tree commit diff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-10-19 10:46:53 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-10-24 20:04:03 -0500
commit7179d24040d66de22e4710e943256be9e1045feb (patch)
tree057355430d6663577ad36f1b8bca8a037c45a099 /drivers/hwmon
parent6f059c641b31076248ba89d0f7e0e753946a8099 (diff)
downloadlinux-7179d24040d66de22e4710e943256be9e1045feb.tar.gz
drm/amdgpu: Fix null point error
need to check adev->powerplay.pp_funcs first, becasue from
AI, the smu ip can be disabled by user, and the pp_handle
is null in this case.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions