commit | fcd90fee8ac22da3bce1c6652cf36bc24e7a0749 | [log] [tgz] |
---|---|---|
author | Evan Quan <evan.quan@amd.com> | Wed Jul 24 14:06:09 2019 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Jul 30 23:23:21 2019 -0500 |
tree | e7f483ef9b71204b3e3548f3a0cd68a226a2ecd2 | |
parent | 1c4259159132ae4ceaf7c6db37a6cf76417f73d9 [diff] |
drm/amd/powerplay: minor fixes around SW SMU power and fan setting Add checking for possible invalid input and null pointer. And drop redundant code. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>