]> git.itanic.dy.fi Git - linux-stable/commit
net: ipa: fix an incorrect assignment
authorAlex Elder <elder@linaro.org>
Wed, 15 Feb 2023 19:53:47 +0000 (13:53 -0600)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 20 Feb 2023 07:14:20 +0000 (08:14 +0100)
commitecfa80ce3b8740d0760f44cbd9e60f446682b3fa
treeb0d23f6b9234118294a1911ada90a2cf19c1eb98
parent1c93e48cc39147723abdcadc251611f6f0c18dee
net: ipa: fix an incorrect assignment

I spotted an error in a patch posted this week, unfortunately just
after it got accepted.  The effect of the bug is that time-based
interrupt moderation is disabled.  This is not technically a bug,
but it is not what is intended.  The problem is that a |= assignment
got implemented as a simple assignment, so the previously assigned
value was ignored.

Fixes: edc6158b18af ("net: ipa: define fields for event-ring related registers")
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ipa/gsi.c