aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2014-12-04 09:58:15 -0800
committerGuenter Roeck <[email protected]>2014-12-05 10:18:02 -0800
commit4ad40cc568c5537de11092d3362f9cb287f915d9 (patch)
treed645f9b83c36b6aa231740ab1f8926f2158f7c99 /tools/perf/util/scripting-engines/trace-event-python.c
parentb95579cd8795442e75c8846fa6eeb4fb442e9d83 (diff)
hwmon: (lm75) Strengthen detect function
A chip returning 0x00 in all registers is erroneously detected as LM75. Check hysteresis and temperature limit registers and abort if both are 0 to reduce the likelyhood for this to happen. Reviewed-by: Rob Coulson <[email protected]> Reviewed-by: Jean Delvare <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions