media: imx: imx7-media-csi: Fix frame sizes enumeration
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 25 Jul 2023 19:14:45 +0000 (22:14 +0300)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 10 Aug 2023 05:58:38 +0000 (07:58 +0200)
commit6308759ec679032e9d4f74834db574077e675e62
tree786fcb8ac88d08a9c8bfe286a587401f6ea242ae
parentc2c0abbe86a089ce7541fa66b5eddf7affe8e106
media: imx: imx7-media-csi: Fix frame sizes enumeration

Enumeration of the minimum, maximum and step values for the image width
does not take hardware constraints into account. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/nxp/imx7-media-csi.c