mbox series

[net-next,0/2] net: ipa: don't cache channel state

Message ID 20200430221323.5449-1-elder@linaro.org
Headers show
Series net: ipa: don't cache channel state | expand

Message

Alex Elder April 30, 2020, 10:13 p.m. UTC
This series removes a field that holds a copy of a channel's state
at the time it was last fetched.  In principle the state can change
at any time, so it's better to just fetch it whenever needed.  The
first patch is just preparatory, simplifying the arguments to 
gsi_channel_state().

					-Alex

Alex Elder (2):
  net: ipa: pass channel pointer to gsi_channel_state()
  net: ipa: do not cache channel state

 drivers/net/ipa/gsi.c | 94 ++++++++++++++++++++++++++-----------------
 drivers/net/ipa/gsi.h |  3 +-
 2 files changed, 59 insertions(+), 38 deletions(-)