]> git.baikalelectronics.ru Git - kernel.git/commit
media: atmel: atmel-isc-base: report frame sizes as full supported range
authorEugen Hristev <eugen.hristev@microchip.com>
Mon, 13 Dec 2021 13:49:26 +0000 (14:49 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 23 Jan 2022 20:18:44 +0000 (21:18 +0100)
commit4ab2a9abdb78fdd403b031d897ee716ecad27f08
tree6852020c652204a80500ad7c1ecc5e4e27b0ab50
parent8253ae12d64aa1faea75f6952e378aa28d1b113b
media: atmel: atmel-isc-base: report frame sizes as full supported range

The ISC supports a full broad range of frame sizes.
Until now, the subdevice was queried for possible frame sizes and these
were reported to the user space.
However, the ISC should not care about which frame sizes the subdev
supports, as long as this frame size is supported.
Thus, report a continuous range from smallest frame size up to the max
resolution.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/atmel/atmel-isc-base.c