diff options
author | 2013-12-09 19:48:28 +0100 | |
---|---|---|
committer | 2013-12-12 22:39:28 +0100 | |
commit | 2212a8529eb06c559256f0cee41c1f14890d54d3 (patch) | |
tree | 7c30ba6e96646702703d1aecddb28cb4c4c302a1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.13-rc3 (diff) | |
download | linux-dev-2212a8529eb06c559256f0cee41c1f14890d54d3.tar.xz linux-dev-2212a8529eb06c559256f0cee41c1f14890d54d3.zip |
i2c: mux: Inherit retry count and timeout from parent for muxed bus
If a muxed i2c bus gets created the default retry count and
timeout of the muxed bus is zero. Hence it it possible that you
end up with a situation where the parent controller sets a default
retry count and timeout which gets applied and used while the muxed
bus (using the same controller) has a default retry count of zero
and a default timeout of 1s (set in i2c_add_adapter()). This can be
solved by initializing the retry count and timeout of the muxed
bus with the values used by the the parent at creation time.
Signed-off-by: Elie De Brauwer <eliedebrauwer@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions