media: atomisp: add error checking to atomisp_create_pipes_stream()
authorHans de Goede <hdegoede@redhat.com>
Wed, 15 Jun 2022 20:50:31 +0000 (21:50 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 15:38:10 +0000 (16:38 +0100)
commit798d2ad739da5343122eff386578f259278f2594
tree325c0a46f73a940ec6fa4ba80b0465ca6a4670b3
parent3bde235bf6780e741d602deb570a8bd7e10a685d
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>
drivers/staging/media/atomisp/pci/atomisp_compat.h
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
drivers/staging/media/atomisp/pci/atomisp_ioctl.c