summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2021-03-04 16:45:20 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-03-22 12:17:56 +0300
commitb83209176d6892ea2e086d0f1d45fdd1cf5f8569 (patch)
treeb37ad5c16bd787dc65b5c7bbd02dc0b420bd004e /include
parentf9426edd5668ddc9bcc199721bf693efdfa92f0e (diff)
downloadlinux-b83209176d6892ea2e086d0f1d45fdd1cf5f8569.tar.xz
media: ti-vpe: cal: fix subdev mbus_code enumeration
The cal_ctx_v4l2_init_formats() function does not handle error values correctly when calling enum_mbus_code in subdevs, causing an infinite loop if the subdev's enum_mbus_code returns some other error than EINVAL. Fix the error handling. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions