Skip to content

Instantly share code, notes, and snippets.

@GustavoARSilva
Created September 27, 2017 10:02
Show Gist options
  • Select an option

  • Save GustavoARSilva/607edc0c6075dad6d1c3849093a14dfd to your computer and use it in GitHub Desktop.

Select an option

Save GustavoARSilva/607edc0c6075dad6d1c3849093a14dfd to your computer and use it in GitHub Desktop.
diff --git a/drivers/media/platform/qcom/venus/helpers.c b/drivers/media/platform/qcom/venus/helpers.c
index b52410d..68933d2 100644
--- a/drivers/media/platform/qcom/venus/helpers.c
+++ b/drivers/media/platform/qcom/venus/helpers.c
@@ -292,7 +292,7 @@ static void return_buf_error(struct venus_inst *inst,
if (vbuf->vb2_buf.type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE)
v4l2_m2m_src_buf_remove_by_buf(m2m_ctx, vbuf);
else
- v4l2_m2m_src_buf_remove_by_buf(m2m_ctx, vbuf);
+ v4l2_m2m_dst_buf_remove_by_buf(m2m_ctx, vbuf);
v4l2_m2m_buf_done(vbuf, VB2_BUF_STATE_ERROR);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment