diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2023-12-27 23:45:48 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2024-02-01 09:02:56 +0300 |
| commit | 7f7b6b5da0d631bc141cf67b08d8c3826d579335 (patch) | |
| tree | 4b5bf3c177c6a3b48a2a42a3be1753a6973c3167 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 62c319a51bcfdc81ce31036dcffa5c5381b0ea54 (diff) | |
| download | linux-7f7b6b5da0d631bc141cf67b08d8c3826d579335.tar.xz | |
media: atomisp: Fix probe error-exit path
Fix probe error-exit path:
-Add a missing ia_css_unload_firmware() call when v4l2_async_nf_register()
fails
-Add a missing pm_runtime_forbid() call to undo the pm_runtime_allow() call
-Remove the unnecessary pcim_iounmap_regions() those are devm managed
so they will get cleaned up automatically on an error exit from probe()
-Rename the labels to avoid having multiple labels pointing to the same
place in the error-exit path
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
