mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-09-03 02:16:09 +02:00
![]() Remove format member from sensor structure, the sensor subdevice will not track the state internally, instead it will use the managed subdev active state, in ox05b1s_set_fmt for example. Remove ox05b1s_get_fmt and use v4l2_subdev_get_fmt instead. Use v4l2_subdev_init_finalize to opt-in for managed state, use the same sensor lock, and initialize it sooner. Do not lock in set_fmt and get_selection, as these ioctls, among others, are called from a wrapper that already takes the lock if the subdev uses active state, see DEFINE_STATE_WRAPPER. Signed-off-by: Mirela Rabulea <mirela.rabulea@nxp.com> Reviewed-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
os08a20_regs_4k_hdr.h | ||
os08a20_regs_4k.h | ||
os08a20_regs_1080p.h | ||
ox05b1s_mipi.c | ||
ox05b1s_regs_5mp.h |