media: atomisp: Store number of sensor lanes per port in struct atomisp_device
authorHans de Goede <hdegoede@redhat.com>
Sun, 14 May 2023 19:37:00 +0000 (20:37 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 9 Jun 2023 14:06:05 +0000 (15:06 +0100)
commit5b9ca47a258871739d60476afafd77519bcc59ee
tree5a4c2fb0b8d1b2eff2490587e9fef0bd7464fed0
parent64be20708a4b51661ae6d2dd4cc0d7bec4116d12
media: atomisp: Store number of sensor lanes per port in struct atomisp_device

Store number of sensor lanes per port in struct atomisp_device.

This is a preparation patch for adding v4l2-async sensor probing support.
With async probing the inputs will get registered later, but we can
already fill the sensor_lanes array when parsing the fwnodes.

Link: https://lore.kernel.org/r/20230518153733.195306-6-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/include/linux/atomisp_platform.h
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c
drivers/staging/media/atomisp/pci/atomisp_internal.h
drivers/staging/media/atomisp/pci/atomisp_v4l2.c