aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorSowjanya Komatineni <[email protected]>2019-02-12 11:06:47 -0800
committerWolfram Sang <[email protected]>2019-02-14 17:48:42 +0100
commit80d40626cc76f65f2699573a95ecc90a31dcf50e (patch)
treea5f0b2eb80522f01b0c5ef77988c55079334e8e8 /lib/test_overflow.c
parent86c92b9965ff1758952cd0d6c5f19eeeef291eea (diff)
i2c: tegra: update transfer timeout
Tegra194 allows max of 64K bytes and Tegra186 and prior allows max of 4K bytes of transfer per packet. one sec timeout is not enough for transfers more than 10K bytes at STD bus rate. This patch updates I2C transfer timeout based on the transfer size and I2C bus rate to allow enough time during max transfer size at lower bus speed. Acked-by: Thierry Reding <[email protected]> Reviewed-by: Dmitry Osipenko <[email protected]> Signed-off-by: Sowjanya Komatineni <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions