linux/drivers/media/pci/intel/ipu3
Sakari Ailus 25857a007d media: ipu3-cio2: Fix container_of() macro wrapper arguments
The argument of the to_sensor_asd() is called the same as the field name
for the container_of() macro, so it only works if the argument name is
"asd". Fix it.

Also switch to container_of_const().

Reviewed-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-05-25 16:21:22 +02:00
..
cio2-bridge.c media: ipu3-cio2: support more camera sensors in cio2-bridge 2023-04-11 18:54:01 +02:00
cio2-bridge.h media: ipu3-cio2: support multiple sensors and VCMs with same HID 2023-04-11 18:54:01 +02:00
ipu3-cio2-main.c media: ipu3-cio2: Fix container_of() macro wrapper arguments 2023-05-25 16:21:22 +02:00
ipu3-cio2.h media: ipu3-cio2: Introduce to_cio2_device() helper macro 2021-09-30 10:07:45 +02:00
Kconfig media: ipu3-cio2: make the bridge depend on i2c 2022-11-25 11:49:20 +00:00
Makefile media: ipu3-cio2: Add cio2-bridge to ipu3-cio2 driver 2021-01-26 19:37:50 +01:00