linux/drivers/media/i2c/adv748x
Jacopo Mondi 3164347e24 media: adv748x-csi2: Use the subdev active state
Initialize and use the subdev active state to store the subdevice
format.

This simplifies the implementation of the get_fmt and set_fmt pad
operations.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tested-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/20240617161135.130719-9-jacopo.mondi@ideasonboard.com
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
2024-06-19 19:43:04 +03:00
..
adv748x-afe.c media: adv748x-afe: Use 1X16 media bus code 2024-06-19 19:43:02 +03:00
adv748x-core.c media: Switch i2c drivers back to use .probe() 2023-05-25 16:21:21 +02:00
adv748x-csi2.c media: adv748x-csi2: Use the subdev active state 2024-06-19 19:43:04 +03:00
adv748x-hdmi.c media: i2c: adv748x: Switch dv timing callbacks to pad ops 2024-04-09 08:15:03 +02:00
adv748x.h media: adv748x-csi2: Use the subdev active state 2024-06-19 19:43:04 +03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00