aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFrank Schaefer <[email protected]>2013-01-03 14:27:03 -0300
committerMauro Carvalho Chehab <[email protected]>2013-01-05 01:16:01 -0200
commit2fcc82d8831a74afd55c3cb898beb9fde5f2a1fd (patch)
tree3074acd519b4d90172dd3360edd06843f81da737 /tools/perf/scripts/python
parentf5ae371aca34bd0660a75f8838198466e9d5166c (diff)
[media] em28xx: fix two severe bugs in function em2800_i2c_recv_bytes()
Function em2800_i2c_recv_bytes() has 2 severe bugs: 1) It does not wait for the i2c read to complete before reading the received message content from the bridge registers. 2) Reading more than 1 byte doesn't work The former can result in data corruption, the latter always does. The rewritten code also superseds the content of function em2800_i2c_check_for_device(). Tested with device "Terratec Cinergy 200 USB". [[email protected]: Fix CodingStyle issues] Signed-off-by: Frank Schäfer <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions