aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJacopo Mondi <[email protected]>2016-06-30 09:18:00 -0500
committerAlex Elder <[email protected]>2016-07-05 21:18:03 -0500
commit36ab1108b60eb649c7c0f0653f854afc1234cfcb (patch)
treea552ada3635718e77b9c0268e7d12184129b00d2 /tools/perf/scripts/python
parent7f93eab7c705527b0579b1bfd4d6e9f6acc9e5ca (diff)
greybus: camera: Fix number of configured streams
Camera Module may report a lower number of configured streams than the one requested by the AP. All the non-supported stream configuration are zeroed. Make the stream configuration inspection loop take only the valid stream into account, to avoid unnecessarily accessing zeroed memory areas. So far, inspecting non valid streams configuration has prove to be harmless, but as we'll need to inspect stream characteristics as reported image sizes and format, we have to take only valid configurations into account. Testing Done: White Camera Module preview and capture. Signed-off-by: Jacopo Mondi <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Alex Elder <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions