summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-04-04 02:51:57 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-04-04 03:00:01 +0300
commitcc0dc7f611f86271382b654e3248e43bc195cc45 (patch)
tree26d95171929e47841cf2910ffede3420b4c58414
parent90a0430abcfcd578659c184ae293b8af753f9182 (diff)
android: mm: cros: Fix compilation
Commit 7d7879833812 ("android: mm: cros: Handle buffer registration failure") mistakenly tried to initialize the CameraBuffer::Private registered member variable instead of registered_. This reults in a compilation failure. Fix it. Fixes: 7d7879833812 ("android: mm: cros: Handle buffer registration failure") Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--src/android/mm/cros_camera_buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/mm/cros_camera_buffer.cpp b/src/android/mm/cros_camera_buffer.cpp
index 2a82d4b7..1a4fd5d1 100644
--- a/src/android/mm/cros_camera_buffer.cpp
+++ b/src/android/mm/cros_camera_buffer.cpp
@@ -50,7 +50,7 @@ private:
CameraBuffer::Private::Private(CameraBuffer *cameraBuffer,
buffer_handle_t camera3Buffer, int flags)
: Extensible::Private(cameraBuffer), handle_(camera3Buffer),
- numPlanes_(0), valid_(false), registered(false)
+ numPlanes_(0), valid_(false), registered_(false)
{
bufferManager_ = cros::CameraBufferManager::GetInstance();