diff options
| author | Jacopo Mondi <[email protected]> | 2023-02-21 18:10:48 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-03-20 08:55:57 +0100 |
| commit | 0d840d425e77c85606488bb6869d72a57fcbd04b (patch) | |
| tree | 8ceb564912b44cde60c07235d7200ebddea4b8f8 /tools/perf/scripts/python | |
| parent | ca4331bd0d6d8590d999d2cef93f0bfe9266bb21 (diff) | |
media: i2c: ov5647: Use bus-locked i2c_transfer()
The ov5647_read() functions calls i2c_master_send() and
i2c_master_read() in sequence. However this leaves space for other
clients to contend the bus and insert an unrelated transaction in between
the two calls.
Replace the two calls with a single i2c_transfer() one, that locks the
bus in between the transactions.
Signed-off-by: Jacopo Mondi <[email protected]>
Reviewed-by: Tommaso Merciai <[email protected]>
Reviewed-by: Dave Stevenson <[email protected]>
Reviewed-by: Laurent Pinchart <[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