drm/amd/powerplay: fix NULL point check error
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 10 May 2016 05:39:29 +0000 (13:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 May 2016 18:26:11 +0000 (14:26 -0400)
commit2dcbffad94f3c2f85cc2c433dad382a741e91dc4
tree9b5209780f7a2afba3dc4abbf888ccb82a9b766a
parent9ab9cf058a5de590146fdc67bf9c483c8bdcbffa
drm/amd/powerplay: fix NULL point check error

&& was used instead of ||

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