diff options
| author | Jacopo Mondi <[email protected]> | 2016-06-30 09:18:00 -0500 |
|---|---|---|
| committer | Alex Elder <[email protected]> | 2016-07-05 21:18:00 -0500 |
| commit | 7f93eab7c705527b0579b1bfd4d6e9f6acc9e5ca (patch) | |
| tree | c640e83cd0c9ca817a0ae2292c3a50327f17dbc7 /tools/perf/scripts/python | |
| parent | e65579e335da0a65b5a76a343ddff6a6f3c77dd1 (diff) | |
greybus: camera: Early update num_streams and flags
In configure_streams Operation, when returning from the greybus
operation call, we can assign the num_streams and flags variable earlier
so that if the following stream configuration inspection fails, the
caller receives the right number of configured streams anyway
Testing Done: White camera module preview and capture.
Triggering failure during stream configuration inspection
makes configuration fails, but avoid segfaulting as
was previously happening
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