Re: [PATCH v5 02/12] media: uvcvideo: Allow more that one asyc_ctrl

2020-12-22 Thread Laurent Pinchart
Hi Ricardo, Thank you for the patch. On Mon, Dec 21, 2020 at 05:48:09PM +0100, Ricardo Ribalda wrote: > The current implementation allocates memory for only one async_control. > If we get a second event before we have processed the previous one, the > old one gets lost. > > Introduce a dynamic

[PATCH v5 02/12] media: uvcvideo: Allow more that one asyc_ctrl

2020-12-21 Thread Ricardo Ribalda
The current implementation allocates memory for only one async_control. If we get a second event before we have processed the previous one, the old one gets lost. Introduce a dynamic memory allocation and a list to handle the async_controls. Signed-off-by: Ricardo Ribalda ---