drm/amd/powerplay: Fix a bug for enabling ACDC gpio interrupt
authorEric Huang <JinHuiEric.Huang@amd.com>
Thu, 24 Mar 2016 20:44:18 +0000 (16:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 00:29:11 +0000 (20:29 -0400)
commitc8c67448b798e4bf5b320c7a15373b10e2d25523
treebc05c34b6b41e187a312430d4bd36bad8b2629a1
parentdcf799e54b4633c04b3f9d91ee2980b920916b13
drm/amd/powerplay: Fix a bug for enabling ACDC gpio interrupt

Only enable it if it's supported rather than unconitionally.

Signed-off-by: Eric Yang <eric.yang2@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c