Alex Elder 019e37eaef net: ipa: don't have gsi_channel_update() return a value
If it finds no completed transactions, gsi_channel_trans_complete()
calls gsi_channel_update() to check hardware.  If new transactions
have completed, gsi_channel_update() records that, then calls
gsi_channel_trans_complete() to return the first of those found.
This recursion won't go any further, but can be avoided if we
have gsi_channel_update() only be responsible for updating state
after accessing hardware.

Change gsi_channel_update() so it simply checks for and handles
new completions, without returning a value.  If it needs to call
that function, have gsi_channel_trans_complete() determine whether
there are new transactions available after the update.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-09-09 11:45:25 +01:00
..
2022-07-21 16:53:26 -07:00
2022-05-20 11:12:23 +01:00
2022-06-13 12:01:58 +01:00
2022-05-22 20:46:12 +01:00
2020-07-13 17:11:53 -07:00
2021-11-25 19:37:33 -08:00
2021-07-26 23:09:18 +01:00
2022-08-12 11:28:14 +01:00
2021-08-22 09:44:17 +01:00
2021-06-11 14:13:18 -07:00