diff options
author | Alex Elder <elder@linaro.org> | 2022-06-15 11:59:28 -0500 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-06-16 20:44:04 -0700 |
commit | 9f1c3ad65406b3ee9e03884bd1d8c6973a76b3eb (patch) | |
tree | 35de8cf665e756b6fd8fbbbe9a17a7b433615ab4 /drivers/ufs | |
parent | 2f48fb0edc0d9521e4b072f69baa5dfa1dba6f8c (diff) |
net: ipa: call gsi_evt_ring_rx_update() unconditionally
When an RX transaction completes, we update the trans->len field to
contain the actual number of bytes received. This is done in a loop
in gsi_evt_ring_rx_update().
Change that function so it checks the data transfer direction
recorded in the transaction, and only updates trans->len for RX
transfers.
Then call it unconditionally. This means events for TX endpoints
will run through the loop without otherwise doing anything, but
this will change shortly.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/ufs')
0 files changed, 0 insertions, 0 deletions