]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: ti-vpe: cal: fix error handling in cal_camerarx_create
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Mon, 14 Jun 2021 11:23:12 +0000 (13:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:41:58 +0000 (13:41 +0200)
commitbd332764b2474a6c507f4a3c21b9c20a97663a12
tree0bc69a7b62fd9e2b181a73be35dc723a276b68b8
parentacfc11e85c3256ba0f4667387cd685fa9e8e7386
media: ti-vpe: cal: fix error handling in cal_camerarx_create

[ Upstream commit 918d6d120a60c2640263396308eeb2b6afeb0cd6 ]

cal_camerarx_create() doesn't handle error returned from
cal_camerarx_sd_init_cfg(). Fix this.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/platform/ti-vpe/cal-camerarx.c