media: v4l: subdev: Add pre_streamon and post_streamoff callbacks
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 23 Jun 2021 12:44:28 +0000 (14:44 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 4 Aug 2021 12:43:51 +0000 (14:43 +0200)
commit253171a0da67304f0ee7358b37df7b715c65dd77
tree9a55e1fb69f02898a63dd24964aae9f44e752803
parent013c35b22e6216b0bde04a1fc3a1a4b599a4e13f
media: v4l: subdev: Add pre_streamon and post_streamoff callbacks

Add pre_streamon and post_streamoff callbacks that can be used to set a
CSI-2 transmitter to LP-11 or LP-111 mode. This can be used by receiver
drivers to reliably initialise the receiver when its initialisation
requires software involvement.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
include/media/v4l2-subdev.h