]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: renesas: vsp1: wpf: Propagate vsp1_rwpf_init_ctrls()
authorJacopo Mondi <jacopo.mondi+renesas@ideasonboard.com>
Tue, 1 Apr 2025 14:22:03 +0000 (16:22 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Fri, 2 May 2025 08:16:43 +0000 (10:16 +0200)
commitf4fea51415e0e82af58e930585ba8c8a4772c945
treee8f8e872019ea09cdd2e9bdcba81a89271a85283
parent15b3c76da9e19b24a69c603ec51a965c5be91e26
media: renesas: vsp1: wpf: Propagate vsp1_rwpf_init_ctrls()

vsp1_wpf.c calls vsp1_rwpf_init_ctrls() to initialize controls that
are common between RPF and WPF.

However, the vsp1_wpf.c implementation does not check for the function
call return value. Fix this by propagating to the caller the return
value.

While at it, drop a duplicated error message in wpf_init_controls() as
the caller already report it.

Signed-off-by: Jacopo Mondi <jacopo.mondi+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/20250401-v4h-iif-v7-3-cc547c0bddd5@ideasonboard.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/renesas/vsp1/vsp1_wpf.c