Commit 93fb9dd5 authored by Ricardo Ribalda's avatar Ricardo Ribalda Committed by Zheng Zengkai
Browse files

media: uvcvideo: Allow entities with no pads



stable inclusion
from stable-5.10.21
commit cc52ed14f5ca849ef81e6a6bc4beea6dc43514d0
bugzilla: 50609

--------------------------------

[ Upstream commit 7532dad6 ]

Avoid an underflow while calculating the number of inputs for entities
with zero pads.

Signed-off-by: default avatarRicardo Ribalda <ribalda@chromium.org>
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 5e1fc281
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment