media: amphion: apply vb2_queue_error instead of setting manually
authorMing Qian <ming.qian@nxp.com>
Tue, 1 Nov 2022 08:04:53 +0000 (16:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:13 +0000 (13:32 +0100)
commit48c489fafa46f9c56ef2d7c8f697ca997d640204
treef70338b365aef2d11355beb4969aa5c580a886c6
parente9fbed19ad17a88ed74c749d398e1c4d69302346
media: amphion: apply vb2_queue_error instead of setting manually

[ Upstream commit 9d175a81e28f260916a0a13f457dd8b940eafb4e ]

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

Fixes: 3cd084519c6f ("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>
drivers/media/platform/amphion/vpu_v4l2.c