media: atomisp: Change atomisp_enum_framesizes() too small cut off from 2/3th to...
authorHans de Goede <hdegoede@redhat.com>
Mon, 19 Jun 2023 10:52:09 +0000 (12:52 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Wed, 27 Sep 2023 07:40:02 +0000 (09:40 +0200)
commitb24209cf1c5c47bee31d0f03dae6f2349b8b85ac
treea672dca340ba79083e207d9f572ddabec1446db6
parentd86c33af672d126bbba0b61947078c317994dcc5
media: atomisp: Change atomisp_enum_framesizes() too small cut off from 2/3th to 5/8th

Change atomisp_enum_framesizes() cut off for too small resolutions
from 2/3th to 5/8th this results in more resolutions being available
with some sensors.

E.g. this allows using 800x600 with a 1280x960 sensor.

Link: https://lore.kernel.org/r/20230619105212.303653-4-hdegoede@redhat.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_ioctl.c