Re: [PATCH v2 01/10] media: ov772x: allow i2c controllers without I2C_FUNC_PROTOCOL_MANGLING

2018-04-18 Thread jacopo mondi
Hi Sakari, On Wed, Apr 18, 2018 at 01:41:54PM +0300, Sakari Ailus wrote: > On Wed, Apr 18, 2018 at 12:05:49PM +0200, jacopo mondi wrote: > > Hi Akinobu, > > > > On Mon, Apr 16, 2018 at 11:51:42AM +0900, Akinobu Mita wrote: > > > The ov772x driver only works when the i2c controller have > > > I2C_F

Re: [PATCH v2 01/10] media: ov772x: allow i2c controllers without I2C_FUNC_PROTOCOL_MANGLING

2018-04-18 Thread Sakari Ailus
On Wed, Apr 18, 2018 at 12:05:49PM +0200, jacopo mondi wrote: > Hi Akinobu, > > On Mon, Apr 16, 2018 at 11:51:42AM +0900, Akinobu Mita wrote: > > The ov772x driver only works when the i2c controller have > > I2C_FUNC_PROTOCOL_MANGLING. However, many i2c controller drivers don't > > support it. >

Re: [PATCH v2 01/10] media: ov772x: allow i2c controllers without I2C_FUNC_PROTOCOL_MANGLING

2018-04-18 Thread jacopo mondi
Hi Akinobu, On Mon, Apr 16, 2018 at 11:51:42AM +0900, Akinobu Mita wrote: > The ov772x driver only works when the i2c controller have > I2C_FUNC_PROTOCOL_MANGLING. However, many i2c controller drivers don't > support it. > > The reason that the ov772x requires I2C_FUNC_PROTOCOL_MANGLING is that >

[PATCH v2 01/10] media: ov772x: allow i2c controllers without I2C_FUNC_PROTOCOL_MANGLING

2018-04-15 Thread Akinobu Mita
The ov772x driver only works when the i2c controller have I2C_FUNC_PROTOCOL_MANGLING. However, many i2c controller drivers don't support it. The reason that the ov772x requires I2C_FUNC_PROTOCOL_MANGLING is that it doesn't support repeated starts. This changes the reading ov772x register method