drm/amd/powerplay: fix a reversed condition
This test was reversed so it would end up leading to a NULL dereference. Fixes: 4630f0fa ('drm/amd/powerplay: add Carrizo smu support') Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
Showing
想要评论请 注册 或 登录