media: imx: imx8mq-mipi-csi2: Use V4L2 subdev active state
authorMartin Kepplinger <martin.kepplinger@puri.sm>
Tue, 7 Mar 2023 15:00:46 +0000 (16:00 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 11 Apr 2023 16:11:53 +0000 (18:11 +0200)
commit36f6b2a33cd995b3cedd1c5c71788c24b9ef2516
tree49ff214bfab89d5f54fe704b317b66d568883f24
parent6cf9e3572ee8aa4d8e847850cedf45e12ac94cfe
media: imx: imx8mq-mipi-csi2: Use V4L2 subdev active state

Simplify the driver by using the V4L2 subdev active state API to store
the active format.

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/staging/media/imx/imx8mq-mipi-csi2.c