media: staging: max96712: Store format in subdev active state
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Fri, 10 May 2024 15:56:06 +0000 (17:56 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 4 Jun 2024 06:31:24 +0000 (08:31 +0200)
commitce44dc1feab5f038edb39dc443b32eae3ac1234d
tree2d0ac37c3e1a4e9da1666a61263aaf53b67c4e88
parent7d30b8efae814bc73541720ca188dc205cd7d2b8
media: staging: max96712: Store format in subdev active state

Create and store the subdevice format in the subdevices active state.
This change do not have a huge effect on the driver as it do not yet
support changing the format.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/staging/media/max96712/max96712.c