Skip to contentSkip to conversation

I2C Driver support for I2C_M_RECV_LEN

DISCUSSION Romeo Enrico Alessio 1 participant 1 message Feb 16, 2010

lore
Share & tools
lore
#0 lore raw

Hi,
To implement the communication between a Omap3530 configured as master and a custom device configured as slave, I need to be able to configure the size of readings dynamically according to the first byte sent by the slave. Checking kernel I found that in include/linux/i2c.h is declared the I2C_M_RECV_LEN flag for the "struct i2c_msg" which should be what I'm looking for. But I have not found an implementation of this functionality in the Omap I2c driver. Can anyone confirm that?

Best Regards
Enrico