diff options
author | Alex Elder <elder@linaro.org> | 2020-11-10 15:59:22 -0600 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-13 15:13:41 -0800 |
commit | 4730ab1c1d2719be997e5d1a791ad4b169e8a30b (patch) | |
tree | 3a17eb08887c5dc127dca930c463395fca2c775a /drivers/net/ipa/gsi.c | |
parent | cec2076e432e9c41856e5c0672210fbbe011b2ad (diff) | |
download | linux-4730ab1c1d2719be997e5d1a791ad4b169e8a30b.tar.bz2 |
net: ipa: use enumerated types for GSI field values
Replace constants defined with an "_FVAL" suffix with values defined
in enumerated types, to be consistent with other usage in the driver.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
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 608f64712be3..55151960a698 100644 --- a/drivers/net/ipa/gsi.c +++ b/drivers/net/ipa/gsi.c @@ -1077,7 +1077,7 @@ static void gsi_isr_gp_int1(struct gsi *gsi) val = ioread32(gsi->virt + GSI_CNTXT_SCRATCH_0_OFFSET); result = u32_get_bits(val, GENERIC_EE_RESULT_FMASK); - if (result != GENERIC_EE_SUCCESS_FVAL) + if (result != GENERIC_EE_SUCCESS) dev_err(gsi->dev, "global INT1 generic result %u\n", result); complete(&gsi->completion); |