aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2009-01-06 14:41:33 -0800
committerLinus Torvalds <[email protected]>2009-01-06 15:59:18 -0800
commit2f22d5dff6f95d777c4cb217b99bfdf1fe306128 (patch)
tree202dd8881df451ceba4be0aa43169049fa58a9eb /tools/perf/scripts/python
parent2e75a4b7ae0dd4bf7b34e41c2c3be7ac23b8f1cc (diff)
adt7470: observe the number of temperature sensors to shorten update time
The adt7470 driver currently assumes that 1s is the proper time to wait to read all temperature sensors. However, the correct time is 200ms * number_of_sensors. This patch sets the default time to provide for 10 sensors and then lowers it based on the number of sensor inputs that have nozero values. Signed-off-by: Darrick J. Wong <[email protected]> Cc: Jean Delvare <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions