[lm-sensors] [PATCH] hwmon: (pmbus) Fix two issues

Tang Yuantian-B29983 B29983 at freescale.com
Tue Nov 15 03:58:03 CET 2011



> -----Original Message-----
> From: Guenter Roeck [mailto:guenter.roeck at ericsson.com]
> Hmm ... looking into the code, I2C_FUNC_SMBUS_READ_BLOCK_DATA is missing
> from I2C_FUNC_SMBUS_EMUL.
> Now that is interesting.
> 
> If you change mpc_functionality() to
> 	return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL |
> I2C_FUNC_SMBUS_READ_BLOCK_DATA; I bet your problem will disappear.
> 
> Jean, any idea why I2C_FUNC_SMBUS_EMUL doesn't include
> I2C_FUNC_SMBUS_READ_BLOCK_DATA ?
> 
[Yuantian:] unfortunately no, Even I add I2C_FUNC_SMBUS_READ_BLOCK_DATA support,
The return value is not correct.

> Thanks,
> Guenter
> 

Regards,
Yuantian




More information about the lm-sensors mailing list