linux/drivers/staging
Hans de Goede e980fb04e7 media: atomisp: Add enum_framesizes function for sensors with selection / crop support
Some sensor drivers with crop support (e.g. the ov5693 driver) only
return the current crop rectangle + 1/2 (binning) of the current crop
rectangle when calling their enum_frame_sizes op.

This causes 2 issues:
1. Atomisp sets to the crop area to include the padding, where as
   the enum_framesizes ioctl should return values without padding.

2. With cropping a lot more standard resolutions are possible then
   just these 2 and many apps limit the list given to the end user
   to the list returned by enum_framesizes.

Add an alternative enum_framesizes function for sensors which support
cropping to fix both issues.

Link: https://lore.kernel.org/r/20230529103741.11904-21-hdegoede@redhat.com

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-06-09 15:39:40 +01:00
..
axis-fifo staging: axis-fifo: Convert to platform remove callback returning void 2023-04-03 21:49:54 +02:00
board
emxx_udc staging: emxx_udc: Convert to platform remove callback returning void 2023-04-03 21:49:54 +02:00
fbtft staging: Replace all spi->chip_select and spi->cs_gpiod references with function call 2023-03-11 12:34:05 +00:00
fieldbus Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
gdm724x net: vlan: introduce skb_vlan_eth_hdr() 2023-04-23 14:16:44 +01:00
greybus Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
iio Char/Misc drivers for 6.4-rc1 2023-04-27 12:07:50 -07:00
ks7010 staging: ks7010: fix line ending with '(' 2023-03-25 09:47:56 +01:00
media media: atomisp: Add enum_framesizes function for sensors with selection / crop support 2023-06-09 15:39:40 +01:00
most staging: most: dim2: Convert to platform remove callback returning void 2023-04-03 21:49:54 +02:00
nvec staging: nvec_ps2: Convert to platform remove callback returning void 2023-04-03 21:49:55 +02:00
octeon staging: octeon: ethernet: Convert to platform remove callback returning void 2023-04-03 21:49:55 +02:00
olpc_dcon
pi433 driver core: class: remove module * from class_create() 2023-03-17 15:16:33 +01:00
qlge Staging: qlge: Fix indentation in conditional statement 2023-03-16 09:44:31 +01:00
rtl8192e staging: rtl8192e: Fix W_DISABLE# does not work after stop/start 2023-04-20 13:55:20 +02:00
rtl8192u staging: rtl8192u: add '*/' on separate line in block comments 2023-03-28 13:34:49 +02:00
rtl8712 staging: rtl8172: Add blank lines after declarations 2023-04-15 18:04:36 +02:00
rtl8723bs staging: rtl8723bs: indent with tab, align with space 2023-04-05 16:37:10 +02:00
rts5208 Staging driver changes for 6.4-rc1 2023-04-27 11:49:35 -07:00
sm750fb staging/lynxfb: Use pci aperture helper 2023-04-04 14:55:55 +02:00
vc04_services modules-6.4-rc1 2023-04-27 16:36:55 -07:00
vme_user Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
vt6655 staging: vt6655: remove unused bb_power_save_mode_off() function 2023-03-17 08:07:25 +01:00
vt6656 staging: vt6656: remove unused vnt_get_current_tsf() function 2023-03-17 08:07:23 +01:00
wlan-ng staging: wlan-ng: small cleanup in plugimage() 2023-03-16 09:43:51 +01:00
Kconfig staging: r8188eu: delete driver 2023-03-09 10:06:28 +01:00
Makefile staging: r8188eu: delete driver 2023-03-09 10:06:28 +01:00