projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arch/sh/drivers/dma/dma-sh.c: Correct use of ! and &
[firefly-linux-kernel-4.4.55.git]
/
arch
/
sh
/
drivers
/
dma
/
dma-sh.c
diff --git
a/arch/sh/drivers/dma/dma-sh.c
b/arch/sh/drivers/dma/dma-sh.c
index 5c3359756a926fe01e1107a1af4bfc53239b25e4..71ff3d6f26e2924462de6132ca9242685c9ddacf 100644
(file)
--- a/
arch/sh/drivers/dma/dma-sh.c
+++ b/
arch/sh/drivers/dma/dma-sh.c
@@
-90,7
+90,7
@@
static irqreturn_t dma_tei(int irq, void *dev_id)
static int sh_dmac_request_dma(struct dma_channel *chan)
{
- if (unlikely(!
chan->flags & DMA_TEI_CAPABLE
))
+ if (unlikely(!
(chan->flags & DMA_TEI_CAPABLE)
))
return 0;
return request_irq(get_dmte_irq(chan->chan), dma_tei,