aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDafna Hirschfeld <[email protected]>2022-01-25 09:02:10 +0100
committerMauro Carvalho Chehab <[email protected]>2022-03-07 10:58:12 +0100
commit447b437f3f18ba38ed879d2268975ffd1c9f8ea0 (patch)
treeace46da63a254fc337a7c7a4060abb98b353fc1e /tools/perf/scripts/python
parentcf1abc501a5c76e390efdf74edf63e9328efdbad (diff)
media: stk1160: fix number of buffers in case not all buffers are created
In case we fail to allocate a transfer_buffer then we break the buffers creation loop and update the number of buffers to the number of successfully allocated which should be 'i' and not 'i - 1' nor 'i + 1' Signed-off-by: Dafna Hirschfeld <[email protected]> Reviewed-by: Ezequiel Garcia <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions