summaryrefslogtreecommitdiff
path: root/Documentation/filesystems/ext3.rst
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2020-08-29 22:38:09 +0200
committerWolfram Sang <wsa@kernel.org>2020-09-18 23:02:02 +0200
commit9374ed1dfe1f862f6dd7552b8164252fe5cc424f (patch)
tree52e7739d351c90fed59629fe29e029df696a8510 /Documentation/filesystems/ext3.rst
parent6af077194600d5445f802ce4587a3254a215a851 (diff)
i2c: rcar: improve bus busy detection
I2C doesn't define a timeout for bus busy, so an arbitrary value like LOOP_TIMEOUT is not a good idea. Let's use the timeout value in struct adapter which is meant for such cases and is user-configurable (via IOCTL). To reduce the load, wait 10us instead of 1us which is good enough for the slow frequencies used by I2C. Finally, use the poll_timeout helper instead of open coding it. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'Documentation/filesystems/ext3.rst')
0 files changed, 0 insertions, 0 deletions