diff options
| author | Dafna Hirschfeld <[email protected]> | 2020-03-28 08:52:51 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-04-14 12:01:43 +0200 |
| commit | 7a040cf303438c567fceb987f10cfd058619f2c9 (patch) | |
| tree | 48ff67b86070f5369cd2bab73876d4a0a1acdf89 /tools/perf/scripts/python | |
| parent | 4ce4646c23373b20a156b73b398dc04aea14fce8 (diff) | |
media: vimc: handle error in vimc_add_subdevs
In case the 'add' callback of an entity fails,
then all other entities should unregister and released.
This should be done inside vimc_add_subdevs so that
the function handles its own failure.
In order to call vimc_unregister_subdevs and vimc_release_subdevs from
vimc_add_subdevs, the order of the function should change.
Signed-off-by: Dafna Hirschfeld <[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