mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 20:34:23 -04:00
net: ipa: change stop channel retry delay
If a GSI stop channel command leaves the channel in STOP_IN_PROC state, we retry the stop command after a 1-2 millisecond delay. I have been told that a 3-5 millisecond delay is a better choice. Signed-off-by: Alex Elder <elder@linaro.org> Reviewed-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
59b5f45496
commit
3d60e15f6e
@@ -903,7 +903,7 @@ int gsi_channel_stop(struct gsi *gsi, u32 channel_id)
|
||||
ret = gsi_channel_stop_command(channel);
|
||||
if (ret != -EAGAIN)
|
||||
break;
|
||||
usleep_range(USEC_PER_MSEC, 2 * USEC_PER_MSEC);
|
||||
usleep_range(3 * USEC_PER_MSEC, 5 * USEC_PER_MSEC);
|
||||
} while (retries--);
|
||||
|
||||
mutex_unlock(&gsi->mutex);
|
||||
|
||||
Reference in New Issue
Block a user