summaryrefslogtreecommitdiff
path: root/kernel/Makefile
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-02-05 16:10:56 -0600
committerJakub Kicinski <kuba@kernel.org>2021-02-06 14:57:17 -0800
commit3f77c926f649eed686f36a1e6888abb698146a2a (patch)
treeb70d4253e7bc006282fdac663be1e9b5e1ae9ce6 /kernel/Makefile
parentb1750723c99c5a4d9b452b5e51a9fd3227fceecb (diff)
net: ipa: do not cache event ring state
An event ring's state only needs to be known when it is allocated, reset, or deallocated. We check an event ring's state both before and after performing an event ring control command that changes its state. These are only issued at startup and shutdown, so there is very little value in caching the state. Stop recording a copy of the channel's last known state, and instead fetch the true state from hardware whenever it's needed. In such cases, *do* record the state in a local variable, in case an error message reports it (so the value reported is the value seen). Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'kernel/Makefile')
0 files changed, 0 insertions, 0 deletions