media: rkisp1: Properly handle result of rkisp1_params_init_vb2_queue()
authorStefan Klug <stefan.klug@ideasonboard.com>
Fri, 23 May 2025 15:14:30 +0000 (17:14 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Wed, 18 Jun 2025 07:21:58 +0000 (09:21 +0200)
commit4d78051cd6a7ce8e88d4e6dfed8ee0e133116287
tree600a9824c95dee25739780c7cb0b795a505336a9
parentf3bc718228d0a2d102a1b20ef63b0cadbf6219f0
media: rkisp1: Properly handle result of rkisp1_params_init_vb2_queue()

Properly handle the return of rkisp1_params_init_vb2_queue(). It is very
unlikely that this ever fails without code changes but should be handled
anyways.

While at it rename the error label for easier extension in the upcoming
patch.

Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20250523-supported-params-and-wdr-v3-1-7283b8536694@ideasonboard.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/rockchip/rkisp1/rkisp1-params.c