aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <[email protected]>2016-07-12 00:17:53 +0000
committerAlex Deucher <[email protected]>2016-07-29 18:36:48 +0000
commit004e29ccf034ea1fb08e77b76106891bb88fae6f (patch)
tree4d1101e968575e819c94c465ff2c3f09a9f2ea55 /drivers/gpu/drm/amd/amdgpu/cik_sdma.c
parentdrivers/amdgpu: Use 'true/false' for bool typed variables (diff)
downloadkernel-004e29ccf034ea1fb08e77b76106891bb88fae6f.tar.gz
kernel-004e29ccf034ea1fb08e77b76106891bb88fae6f.zip
drivers/amdgpu: Use canonical form in branch predicates
Found-by: Coccinelle Signed-off-by: Edward O'Callaghan <[email protected]> Reviewed-by: Tom St Denis <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik_sdma.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/cik_sdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
index 6507a7ee75e4..c1eedc466526 100644
--- a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
+++ b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
@@ -354,7 +354,7 @@ static void cik_sdma_enable(struct amdgpu_device *adev, bool enable)
u32 me_cntl;
int i;
- if (enable == false) {
+ if (!enable) {
cik_sdma_gfx_stop(adev);
cik_sdma_rlc_stop(adev);
}