aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJacopo Mondi <[email protected]>2023-02-21 18:10:48 +0100
committerMauro Carvalho Chehab <[email protected]>2023-03-20 08:55:57 +0100
commit0d840d425e77c85606488bb6869d72a57fcbd04b (patch)
tree8ceb564912b44cde60c07235d7200ebddea4b8f8 /tools/perf/scripts/python
parentca4331bd0d6d8590d999d2cef93f0bfe9266bb21 (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