drm/amd/powerplay: fix bug that NULL checks are reversed.
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 6 Jan 2016 08:22:07 +0000 (16:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Jan 2016 20:39:22 +0000 (15:39 -0500)
commit53d3de140b668d37e1ebfe01c94ec36d369edcbf
tree041a8a9c4babdb2ce0fd1b37e6e108a10682c2ad
parent15c3277ff60286860b3dc98651fc241875e678fa
drm/amd/powerplay: fix bug that NULL checks are reversed.

&& was used instead of ||.

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