diff options
author | Xingjiang Qiao <nanpuyue@gmail.com> | 2022-12-06 08:53:30 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-12-07 01:37:47 +0300 |
commit | 4d50591ebf60ccf79380fff3a4c23659c61c482f (patch) | |
tree | 79b1d4238ea3b7b2192be77d4ae4b85c2bd69939 /tools/perf/scripts/python/stackcollapse.py | |
parent | 688fcd047ef0f0aeee16d0fefaff065fa69eb642 (diff) | |
download | linux-4d50591ebf60ccf79380fff3a4c23659c61c482f.tar.xz |
hwmon: (emc2305) fix unable to probe emc2301/2/3
The definitions of 'EMC2305_REG_PRODUCT_ID' and 'EMC2305_REG_DEVICE' are
both '0xfd', they actually return the same value, but the values returned
by emc2301/2/3/5 are different, so probe emc2301/2/3 will fail, This patch
fixes that.
Signed-off-by: Xingjiang Qiao <nanpuyue@gmail.com>
Link: https://lore.kernel.org/r/20221206055331.170459-1-nanpuyue@gmail.com
Fixes: 0d8400c5a2ce1 ("hwmon: (emc2305) add support for EMC2301/2/3/5 RPM-based PWM Fan Speed Controller.")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions