I2C algorithm IDs
Greg,
Are I2C algorithm IDs supposed to be unique? Do they have any meaning in reality at all? If the answer is yes to either of these questions, the following should probably be resolved:
#define I2C_ALGO_PCA 0x150000 /* PCA 9564 style adapters */ #define I2C_ALGO_SIBYTE 0x150000 /* Broadcom SiByte SOCs */
Signature · 1 line
Russell King
Quoted 5 lines · Russell King
Greg,
Are I2C algorithm IDs supposed to be unique? Do they have any meaning in reality at all? If the answer is yes to either of these questions, the following should probably be resolved:
Yes, they are used in some places, and yes they do need to be unique.
Quoted 2 lines
#define I2C_ALGO_PCA 0x150000 /* PCA 9564 style adapters */ #define I2C_ALGO_SIBYTE 0x150000 /* Broadcom SiByte SOCs */
Thanks for pointing this out, I've gone and fixed this up and will send the patch upward.
thanks,
greg k-h