aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2016-08-03 22:07:18 -0700
committerGuenter Roeck <[email protected]>2016-09-08 21:34:16 -0700
commitfc72af3ad43512bdea27cbd98f7acdb1e0354c2e (patch)
tree56d84922f1f300bed863b2c23be7643cc1e483fa /tools/perf/scripts/python/export-to-postgresql.py
parentf9f7bb3a0efafb662a4c639bc62df1df2b7321f9 (diff)
hwmon: (nct6775) Do not accept force_id unless chip is found
Since commit 698a7c24a544 ("hwmon: (nct6775) Support two SuperIO chips in the same system"), the driver supports two Super-IO chips. This has the undesirable side effect that force_id always detects a second chip at address 0xfff8, even if no chip exists at that address. nct6775: Found NCT6793D or compatible chip at 0x4e:0xfff8 If no chip at all is found at a given SIO address, it does not make sense to instantiate it. Limit force_id to only work if some chip is found, that is if the chip ID returns a value other than 0xffff. Reviewed-by: Jean Delvare <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions