media: amphion: apply vb2_queue_error instead of setting manually

[ Upstream commit 9d175a81e2 ]

vb2_queue_error is help to set the error of vb2_queue,
don't need to set it manually

Fixes: 3cd084519c ("media: amphion: add vpu v4l2 m2m support")
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Ming Qian 2022-11-01 16:04:53 +08:00 • committed by Greg Kroah-Hartman
commit 48c489fafa