
6 Nov
2013
6 Nov
'13
1:12 p.m.
In drivers/i2c/omap24xx_i2c.c there are a few checks that attempt to detect unconfigured pads for the i2c bus in use. These checks are all in the form of
if (status == I2C_STAT_XRDY) { printf("unconfigured pads\n"); return -1; }
This check seems peculiar to me since the meaning of I2C_STAT_XRDY is that new data is requested for transmission. Why is that indication that the bus is not padconf'd for I2C?
--
Regards,
Nikita.