diff options
| author | Akinobu Mita <[email protected]> | 2018-05-06 10:19:18 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-06-28 08:56:51 -0400 |
| commit | 0b964d183cbf3f95a062ad9f3eec87ffa2790558 (patch) | |
| tree | 4f76936f81b668b53aef8bf7065171ddec7f3b3c /tools/perf/scripts/python | |
| parent | c3f3ba3e6f78ea2159fca284e18840c6b3c1bfb6 (diff) | |
media: ov772x: allow i2c controllers without I2C_FUNC_PROTOCOL_MANGLING
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 so that it doesn't
require I2C_FUNC_PROTOCOL_MANGLING by calling two separated i2c messages.
Cc: Laurent Pinchart <[email protected]>
Cc: Hans Verkuil <[email protected]>
Cc: Wolfram Sang <[email protected]>
Reviewed-by: Jacopo Mondi <[email protected]>
Signed-off-by: Akinobu Mita <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions