diff options
author | Sakari Ailus <[email protected]> | 2023-06-20 14:21:58 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2023-07-28 10:37:16 +0200 |
commit | 4232c5df51300c74a318a90a364f0e084f58c9df (patch) | |
tree | 8ffe8c7086037e63ff930a0f18a149ccf66e406a | |
parent | 5202fb581e52962c978b7a9e8ca0f4f1fb75cd0b (diff) |
media: Documentation: v4l: Fix async sensor subdev helper documentation
Document that the notifier of an async sub-device is, besider
unregistered, also cleaned up using v4l2_async_unregister_subdev().
Signed-off-by: Sakari Ailus <[email protected]>
Tested-by: Lad Prabhakar <[email protected]> # Renesas RZ/G2L SMARC
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
-rw-r--r-- | Documentation/driver-api/media/v4l2-subdev.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/driver-api/media/v4l2-subdev.rst b/Documentation/driver-api/media/v4l2-subdev.rst index 3cc56ac8d221..646bd00068be 100644 --- a/Documentation/driver-api/media/v4l2-subdev.rst +++ b/Documentation/driver-api/media/v4l2-subdev.rst @@ -219,11 +219,11 @@ registering their async sub-devices with the notifier. Asynchronous sub-device registration helper for camera sensor drivers ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -:c:func:`v4l2_async_register_subdev_sensor` is a helper function for -sensor drivers registering their own async sub-device, but it also registers a -notifier and further registers async sub-devices for lens and flash devices -found in firmware. The notifier for the sub-device is unregistered with the -async sub-device. +:c:func:`v4l2_async_register_subdev_sensor` is a helper function for sensor +drivers registering their own async sub-device, but it also registers a notifier +and further registers async sub-devices for lens and flash devices found in +firmware. The notifier for the sub-device is unregistered and cleaned up with +the async sub-device, using :c:func:`v4l2_async_unregister_subdev`. Asynchronous sub-device notifier example ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |