diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-06-15 21:50:31 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-07-08 16:38:10 +0100 |
commit | 798d2ad739da5343122eff386578f259278f2594 (patch) | |
tree | 325c0a46f73a940ec6fa4ba80b0465ca6a4670b3 /drivers/staging/media/atomisp/pci/atomisp_compat.h | |
parent | media: atomisp: fix __get_frame_info() error handling (diff) | |
download | wireguard-linux-798d2ad739da5343122eff386578f259278f2594.tar.xz wireguard-linux-798d2ad739da5343122eff386578f259278f2594.zip |
media: atomisp: add error checking to atomisp_create_pipes_stream()
The functions called by atomisp_create_pipes_stream() can fail,
add error checking for them.
Link: https://lore.kernel.org/linux-media/20220615205037.16549-35-hdegoede@redhat.com
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp_compat.h')
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp_compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp_compat.h b/drivers/staging/media/atomisp/pci/atomisp_compat.h index 809f1a8c9974..3393ae6824f0 100644 --- a/drivers/staging/media/atomisp/pci/atomisp_compat.h +++ b/drivers/staging/media/atomisp/pci/atomisp_compat.h @@ -240,7 +240,7 @@ int atomisp_css_input_configure_port(struct atomisp_sub_device *asd, unsigned int metadata_width, unsigned int metadata_height); -void atomisp_create_pipes_stream(struct atomisp_sub_device *asd); +int atomisp_create_pipes_stream(struct atomisp_sub_device *asd); void atomisp_destroy_pipes_stream_force(struct atomisp_sub_device *asd); void atomisp_css_stop(struct atomisp_sub_device *asd, |