On Fri, 4 May 2012 11:26:48 +0100, Mark Brown wrote: > Since there are uses for I2C_M_NOSTART which are much more sensible and > standard than most of the protocol mangling functionality (the main one > being gather writes to devices where something like a register address > needs to be inserted before a block of data) create a new I2C_FUNC_NOSTART > for this feature and update all the users to use it. > > Also strengthen the disrecommendation of the protocol mangling while we're > at it. > > In the case of regmap-i2c we remove the requirement for mangling as > I2C_M_NOSTART is the only mangling feature which is being used. > > Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> > --- > Documentation/i2c/functionality | 8 +++++--- > Documentation/i2c/i2c-protocol | 9 ++++++++- > drivers/base/regmap/regmap-i2c.c | 2 +- > drivers/i2c/algos/i2c-algo-bit.c | 2 +- > drivers/i2c/busses/i2c-nuc900.c | 3 ++- > drivers/i2c/busses/i2c-s3c2410.c | 3 ++- > drivers/input/joystick/as5011.c | 1 + > drivers/video/matrox/matroxfb_maven.c | 1 + > include/linux/i2c.h | 5 +++-- > 9 files changed, 24 insertions(+), 10 deletions(-) > (...) Applied with minor cleanups, thanks. -- Jean Delvare -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html