mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Merge remote-tracking branch 'spi/topic/core' into spi-next
This commit is contained in:
commit
42b1eadf4e
2 changed files with 2 additions and 2 deletions
|
|
@ -1015,7 +1015,7 @@ static int spi_transfer_one_message(struct spi_master *master,
|
|||
ret = 0;
|
||||
ms = 8LL * 1000LL * xfer->len;
|
||||
do_div(ms, xfer->speed_hz);
|
||||
ms += ms + 100; /* some tolerance */
|
||||
ms += ms + 200; /* some tolerance */
|
||||
|
||||
if (ms > UINT_MAX)
|
||||
ms = UINT_MAX;
|
||||
|
|
|
|||
Loading…
Reference in a new issue