S3C2410 I2C - missing I2C_CLASS_HWMON
Subsystems (2)
None of the standard sensor drivers currently recognise the s3c2410 i2c controller as it does not have I2C_CLASS_HWMON set in it's adapter class field.
This patch initialised the adapter with I2C_CLASS_HWMON
drivers/i2c/busses/i2c-s3c2410.c +1 -0
@@ -569,6 +569,7 @@ .name = "s3c2410-i2c", .algo = &s3c24xx_i2c_algorithm, .retries = 2, + .class = I2C_CLASS_HWMON, }, };
Hi Ben,
Quoted 5 lines
None of the standard sensor drivers currently recognise the s3c2410 i2c controller as it does not have
I2C_CLASS_HWMONset in it's adapter class field.This patch initialised the adapter with
I2C_CLASS_HWMON
Looks OK to me, but you seemingly forgot to CC: Greg KH. I'd also suggest that you somehow mention in the subject that there is a patch for him to catch in there.
Thanks,
--
Jean Delvare
Quoted 7 lines · Jean Delvare
Hi Ben,
Quoted 4 lines
None of the standard sensor drivers currently recognise the s3c2410 i2c controller as it does not have
I2C_CLASS_HWMONset in it's adapter class field.
Quoted 5 lines
Quoted 1 line
This patch initialised the adapter with
I2C_CLASS_HWMONLooks OK to me, but you seemingly forgot to CC: Greg KH. I'd also suggest that you somehow mention in the subject that there is a patch for him to catch in there.
thanks for noticing, will repost.