aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2014-09-04 13:26:52 -0300
committerMauro Carvalho Chehab <[email protected]>2014-09-08 16:40:16 -0300
commit947b38bb110c90e0bc93e7afe9ab6f007b6799a7 (patch)
treeab0d4a0af53c7a308ac7d2d204cbaec920364b1d /tools/perf/scripts/python
parentf1b6a735328b507810d2436891ee977fb8cd62d7 (diff)
[media] tw68: simplify tw68_buffer_count
The code to calculate the maximum number of buffers allowed in 4 MB is 1) wrong if PAGE_SIZE != 4096 and 2) unnecessarily complex. Fix and simplify the code. Reported-by: Mauro Carvalho Chehab <[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