summaryrefslogtreecommitdiff
path: root/src/libcamera/camera_lens.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/camera_lens.cpp')
-rw-r--r--src/libcamera/camera_lens.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/camera_lens.cpp b/src/libcamera/camera_lens.cpp
index 189cb025..810fcffa 100644
--- a/src/libcamera/camera_lens.cpp
+++ b/src/libcamera/camera_lens.cpp
@@ -84,7 +84,7 @@ int CameraLens::init()
*
* \return 0 on success or -EINVAL otherwise
*/
-int CameraLens::setFocusPostion(int32_t position)
+int CameraLens::setFocusPosition(int32_t position)
{
ControlList lensCtrls(subdev_->controls());
lensCtrls.set(V4L2_CID_FOCUS_ABSOLUTE, static_cast<int32_t>(position));