diff options
| author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2020-05-27 11:35:01 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-12-03 14:27:31 +0300 |
| commit | 6a0970986e425f5750b081542c340c855d8890e5 (patch) | |
| tree | 2496437fb78fc497daf8d2333beff1d3ebbbbb6b /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | a11d3d6891f042b3537b7f113462bcac8088ba70 (diff) | |
| download | linux-6a0970986e425f5750b081542c340c855d8890e5.tar.xz | |
media: ccs: Stop reading arrays after the first zero
The register arrays have a certain size but not all the entries will be
relevant. In practice reading can be stopped after encountering a zero
value in the array. Do that to avoid extra reads.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
