Commit c2079f3e authored by Sakari Ailus's avatar Sakari Ailus

media: v4l: subdev: Document s_power() callback is deprecated

Runtime PM has been around for a decade or more, there's hardly a need to
use the V4L2 specific s_power() callback in drivers anymore. Document this
in s_power() callback documentation as well.
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
parent a8278ad7
...@@ -176,7 +176,10 @@ struct v4l2_subdev_io_pin_config { ...@@ -176,7 +176,10 @@ struct v4l2_subdev_io_pin_config {
* @s_register: callback for VIDIOC_DBG_S_REGISTER() ioctl handler code. * @s_register: callback for VIDIOC_DBG_S_REGISTER() ioctl handler code.
* *
* @s_power: puts subdevice in power saving mode (on == 0) or normal operation * @s_power: puts subdevice in power saving mode (on == 0) or normal operation
* mode (on == 1). * mode (on == 1). DEPRECATED. See
* Documentation/driver-api/media/camera-sensor.rst . pre_streamon and
* post_streamoff callbacks can be used for e.g. setting the bus to LP-11
* mode before s_stream is called.
* *
* @interrupt_service_routine: Called by the bridge chip's interrupt service * @interrupt_service_routine: Called by the bridge chip's interrupt service
* handler, when an interrupt status has be raised due to this subdev, * handler, when an interrupt status has be raised due to this subdev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment