On Sat, May 19, 2007, Trent Piepho wrote: > > I've written a patch that implements I2C_M_STOP. It would be used like this: > > char buf1[2] = {0x0b,0x3c}, buf2[1]; > struct i2c_msg msgs[2] = { > { .addr = 0x61, .buf = buf1, .len = 2, .flags = I2C_M_STOP }, > { .addr = 0x61, .buf = buf2, .len = 1, .flags = I2C_M_RD } }; > i2c_transfer(adap, msgs, 2); That's what I had in mind. Thanks for writing the patch! > This would work for stv0297, wouldn't it? It should ;-/ If you are going to submit this to the i2c maintainer, please add I2C_M_STOP to Documentation/i2c/i2c-protocol. Thanks, Johannes _______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb