summaryrefslogtreecommitdiff
path: root/drivers/staging/media/atomisp/include/linux
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-05-14 22:37:00 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-06-09 17:06:05 +0300
commit5b9ca47a258871739d60476afafd77519bcc59ee (patch)
tree5a4c2fb0b8d1b2eff2490587e9fef0bd7464fed0 /drivers/staging/media/atomisp/include/linux
parent64be20708a4b51661ae6d2dd4cc0d7bec4116d12 (diff)
downloadlinux-5b9ca47a258871739d60476afafd77519bcc59ee.tar.xz
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>
Diffstat (limited to 'drivers/staging/media/atomisp/include/linux')
-rw-r--r--drivers/staging/media/atomisp/include/linux/atomisp_platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/media/atomisp/include/linux/atomisp_platform.h b/drivers/staging/media/atomisp/include/linux/atomisp_platform.h
index e8e965f73fc8..487ef5846c24 100644
--- a/drivers/staging/media/atomisp/include/linux/atomisp_platform.h
+++ b/drivers/staging/media/atomisp/include/linux/atomisp_platform.h
@@ -125,6 +125,7 @@ struct intel_v4l2_subdev_id {
struct intel_v4l2_subdev_table {
enum intel_v4l2_subdev_type type;
enum atomisp_camera_port port;
+ unsigned int lanes;
struct v4l2_subdev *subdev;
};