diff options
author | Alex Elder <elder@linaro.org> | 2020-09-28 18:04:43 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-28 18:34:56 -0700 |
commit | fb980ef7415fd9ff00c5aef05a52358b0dea762d (patch) | |
tree | f5245d4351d01ebd53ce8031fcb64c92cac027ae /drivers/net/ipa/gsi.c | |
parent | d61bb7166d246241451644c2f7a730f743c8bbfa (diff) | |
download | linux-fb980ef7415fd9ff00c5aef05a52358b0dea762d.tar.bz2 |
net: ipa: share field mask values for GSI general interrupt
The GSI general interrupt is managed by three registers: enable;
status; and clear. The three registers have same set of field bits
at the same locations. Use a common set of field masks for all
three registers to avoid duplication.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/gsi.c')
-rw-r--r-- | drivers/net/ipa/gsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipa/gsi.c b/drivers/net/ipa/gsi.c index 203d079c481c..cb676083dfa7 100644 --- a/drivers/net/ipa/gsi.c +++ b/drivers/net/ipa/gsi.c @@ -271,7 +271,7 @@ static void gsi_irq_enable(struct gsi *gsi) iowrite32(val, gsi->virt + GSI_CNTXT_GLOB_IRQ_EN_OFFSET); /* Never enable GSI_BREAK_POINT */ - val = GSI_CNTXT_GSI_IRQ_ALL & ~EN_BREAK_POINT_FMASK; + val = GSI_CNTXT_GSI_IRQ_ALL & ~BREAK_POINT_FMASK; iowrite32(val, gsi->virt + GSI_CNTXT_GSI_IRQ_EN_OFFSET); } |