2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/drivers/media
Laurent Pinchart bddb9d0e97 [media] uvcvideo: Support allocating buffers larger than the current frame size
The queue_setup handler takes an optional format argument that can be
used to allocate buffers for a format different than the current format.
The uvcvideo driver doesn't support changing the format when buffers
have been allocated, but there's no reason not to support allocating
buffers larger than the minimum size.

When the format argument isn't NULL verify that the requested image size
is large enough for the current format and use it for the buffer size.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-02-28 13:24:00 -03:00
..
common [media, edac] Change my email address 2014-02-07 08:03:07 -02:00
dvb-core [media] rtl28xxu: add ID [0ccd:00b4] TerraTec NOXON DAB Stick (rev 3) 2014-02-24 10:32:11 -03:00
dvb-frontends [media] it913x-fe: Dead code remove driver 2014-02-24 10:49:52 -03:00
firewire firewire: introduce fw_driver.probe and .remove methods 2013-06-09 18:15:00 +02:00
i2c [media] mt9v032: Check return value of clk_prepare_enable/clk_set_rate 2014-02-24 13:14:12 -03:00
mmc [media] siano: get rid of CammelCase from smscoreapi.h 2013-03-21 10:03:16 -03:00
parport [media] bw-qcam: fix timestamp handling 2013-05-27 09:30:19 -03:00
pci [media] cx23885: Fix tuning regression for TeVii S471 2014-02-04 17:45:37 -02:00
platform [media] omap3isp: Don't ignore failure to locate external subdev 2014-02-24 12:57:19 -03:00
radio [media] radio-usb-si4713: make array of structs const 2014-02-24 10:56:22 -03:00
rc [media, edac] Change my email address 2014-02-07 08:03:07 -02:00
tuners [media, edac] Change my email address 2014-02-07 08:03:07 -02:00
usb [media] uvcvideo: Support allocating buffers larger than the current frame size 2014-02-28 13:24:00 -03:00
v4l2-core [media] v4l2-subdev: Allow 32-bit compat ioctls 2014-02-24 10:57:14 -03:00
Kconfig [media] subdev autoselect only works if I2C and I2C_MUX is selected 2013-12-21 06:03:06 -02:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: info leak in __media_device_enum_links() 2013-06-12 18:52:45 -03:00
media-devnode.c [media] media: Add 64--32 bit compat ioctl handler 2013-03-18 20:44:36 -03:00
media-entity.c [media] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag 2013-12-04 15:03:45 -02:00