intel: ipu3: Remove useless check when notify ISYS buffer
[Issue]
All requests buffer are needed for IMGU, so no need to
check before notify ISYS buffer.
[Changes]
Remove useless check when notify ISYS buffer.
BUG=b:62358788
TEST=Basic camera functions work on soraka.
Change-Id: I0dfc35c49cac4087e5f79fde8c014e25ffcdb28f
Signed-off-by: Qingwu Zhang <qingwu.zhang@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/758199
Commit-Ready: WeiX Meng <weix.meng@intel.com>
Tested-by: WeiX Meng <weix.meng@intel.com>
Reviewed-by: Ricky Liang <jcliang@chromium.org>
diff --git a/hal/intel/psl/ipu3/CaptureUnit.cpp b/hal/intel/psl/ipu3/CaptureUnit.cpp
index b73f2b9..5b2fad7 100644
--- a/hal/intel/psl/ipu3/CaptureUnit.cpp
+++ b/hal/intel/psl/ipu3/CaptureUnit.cpp
@@ -822,14 +822,9 @@
if (isysNode == ISYS_NODE_RAW) {
outMsg.data.event.type = ICaptureEventListener::CAPTURE_EVENT_RAW_BAYER;
- // Send notification if needed in this request
- if (gc->isIsaOutputDestinationActive(isysBufferPtr->mDestinationTerminal)) {
- LOG2("ISYS event %d arrived", outMsg.data.event.type);
- notifyListeners(&outMsg);
- } else {
- // buffer not needed in this request, recycle to the pool
- isysBufferPtr.reset();
- }
+ // Send notification
+ LOG2("ISYS event %d arrived", outMsg.data.event.type);
+ notifyListeners(&outMsg);
} else {
LOGE("Unsupprted isys node");
return UNKNOWN_ERROR;