media: atomisp: Allow camera_mipi_info to be NULL
authorHans de Goede <hdegoede@redhat.com>
Tue, 16 May 2023 20:29:18 +0000 (21:29 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 9 Jun 2023 14:08:50 +0000 (15:08 +0100)
commit4d98580962610e5d41f62e063e759b5bd5f7534a
treecb2f8ae0e094aa46c05cb84dc9b9495b4292a8fd
parentd374e4559127e68c63f07af02153df37c42989bd
media: atomisp: Allow camera_mipi_info to be NULL

camera_mipi_info is an atomisp / atomisp_gmin_platform specific struct,
allow mipi_info pointers to be NULL.

This is a preparation patch for making atomisp work with
standard v4l2 sensor drivers.

Link: https://lore.kernel.org/r/20230518153733.195306-9-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_cmd.c
drivers/staging/media/atomisp/pci/atomisp_csi2.c