diff options
author | Oded Gabbay <[email protected]> | 2019-07-18 11:14:37 +0300 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2019-09-05 14:55:26 +0300 |
commit | ed0fc50535ee32ce6a09f4eca84b6ac1a3b1064f (patch) | |
tree | 03be5352f5068e7920a07f677567ddfd104a1bc8 /drivers/usb/cdns3/cdns3-ti.c | |
parent | 52a1ae115a68272325a327c229f5af44ba324132 (diff) |
habanalabs: cap simulator timeout
In the driver timeout functions, we give the simulator a factor of 10
in the timeout. This was necessary when the requested timeout is small
but if it was a few seconds, this can result in a very large timeout which
is unnecessary.
This patch caps the maximum timeout of the simulator to 10 seconds, which
is our largest timeout in the code. That is more then enough for anything
the simulator is doing.
Signed-off-by: Oded Gabbay <[email protected]>
Reviewed-by: Omer Shpigelman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions