Skip to content
Commit 4d50591e authored by Xingjiang Qiao's avatar Xingjiang Qiao Committed by Guenter Roeck
Browse files

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: default avatarXingjiang Qiao <nanpuyue@gmail.com>
Link: https://lore.kernel.org/r/20221206055331.170459-1-nanpuyue@gmail.com


Fixes: 0d8400c5 ("hwmon: (emc2305) add support for EMC2301/2/3/5 RPM-based PWM Fan Speed Controller.")
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 688fcd04
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment