Laurent Pinchart c58874df10 media: uvcvideo: Use indexed loops in uvc_ctrl_init_ctrl()
As shown by the bug introduced in commit 86f7ef773156 ("media: uvcvideo:
Add support for per-device control mapping overrides"), the loop style
used by uvc_ctrl_init_ctrl() is error-prone. Rewrite the loops to use
indices instead.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-08-30 16:05:00 +02:00
..
2022-08-29 16:27:18 +02:00
2022-08-29 16:27:18 +02:00
2022-08-29 16:27:18 +02:00
2022-08-29 16:27:18 +02:00
2022-08-29 16:27:18 +02:00
2022-06-20 10:30:30 +01:00
2022-08-29 16:43:00 +02:00
2022-08-29 16:43:00 +02:00