media: venus: fix copy/paste error in return_buf_error
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 18 Aug 2017 16:07:19 +0000 (12:07 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 26 Aug 2017 18:42:56 +0000 (14:42 -0400)
commit0de0ef6c3f2dd7e9965270683445917e10384ab0
tree7c9ff65cf42dcbf8a8287e2ed202e2d91e36e0b4
parent801e3659bf2c87c31b7024087d61e89e172b5651
media: venus: fix copy/paste error in return_buf_error

Call function v4l2_m2m_dst_buf_remove_by_buf() instead of
v4l2_m2m_src_buf_remove_by_buf()

Addresses-Coverity-ID: 1415317

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Cc: <stable@vger.kernel.org> # for v4.13
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/qcom/venus/helpers.c