27 Sep
2023
27 Sep
'23
4:50 p.m.
On Thu, Sep 21, 2023 at 02:48:19PM -0700, Wesley Cheng wrote:
For USB offloading situations, the AFE port start command will result in a QMI handshake between the Q6DSP and the main processor. Depending on if the USB bus is suspended, this routine would require more time to complete, as resuming the USB bus has some overhead associated with it. Increase the timeout to 3s to allow for sufficient time for the USB QMI stream enable handshake to complete.
...
-#define TIMEOUT_MS 1000 +#define TIMEOUT_MS 3000
That seems worryingly large but if it's what the hardware/firmware needs I guess there's nothing doing - even the 1s that's being replaced would be nasty if we ever actually hit it.