projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b8070d
)
gpu: host1x: Remove redundant parentheses
author
Thierry Reding
<treding@nvidia.com>
Thu, 23 Jun 2016 09:37:31 +0000
(11:37 +0200)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 23 Jun 2016 09:59:31 +0000
(11:59 +0200)
There's no need to wrap the BIT() macro into an extra set of parentheses
because it's already implemented to use its own set.
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/hw/cdma_hw.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/host1x/hw/cdma_hw.c
b/drivers/gpu/host1x/hw/cdma_hw.c
index
5c39f1b
..
659c1bb
100644
(file)
--- a/
drivers/gpu/host1x/hw/cdma_hw.c
+++ b/
drivers/gpu/host1x/hw/cdma_hw.c
@@
-220,7
+220,7
@@
static void cdma_resume(struct host1x_cdma *cdma, u32 getptr)
ch->id, getptr);
cmdproc_stop = host1x_sync_readl(host1x, HOST1X_SYNC_CMDPROC_STOP);
- cmdproc_stop &= ~
(BIT(ch->id)
);
+ cmdproc_stop &= ~
BIT(ch->id
);
host1x_sync_writel(host1x, cmdproc_stop, HOST1X_SYNC_CMDPROC_STOP);
cdma->torndown = false;