drm/amdgpu: precedence bug in amdgpu_device_init()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 18 Jun 2016 08:38:44 +0000 (11:38 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 Jun 2016 21:06:10 +0000 (17:06 -0400)
commit48a70e1ca85e3b484791e100bb403c05ef9d37c8
tree2568cab2d0ea1c9374550669c9f78622bee65127
parent0b10029d826ed8c18a5f9d2f4abfa415d15cd1d3
drm/amdgpu: precedence bug in amdgpu_device_init()

! has higher precedence than bitwise & so we need to add parenthesis
for this to work as intended.

Fixes: 048765ad5af7 ('amdgpu: fix asic initialization for virtualized environments (v2)')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c