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)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Fri, 18 Nov 2022 14:48:16 +0000 (15:48 +0100)
commit9d175a81e28f260916a0a13f457dd8b940eafb4e
tree4e785171323cb27821d95059103fbcf5e05bd64d
parent8480dd5fb3c82b5887d456b3fbe4201d99231814
media: amphion: apply vb2_queue_error instead of setting manually

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>
drivers/media/platform/amphion/vpu_v4l2.c