android: mm: cros: Fix compilation

Commit 7d78798338 ("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: 7d78798338 ("android: mm: cros: Handle buffer registration failure")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2021-04-04 02:51:57 +03:00
parent 90a0430abc
commit cc0dc7f611

View file

@ -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();