Re: [PATCH v4 9/9] media: uvcvideo: Implement UVC_QUIRK_PRIVACY_DURING_STREAM

2020-12-20 Thread Ricardo Ribalda
HI On Sun, Dec 20, 2020 at 6:22 PM Laurent Pinchart wrote: > > Hi Ricardo, > > Thank you for the patch. > > On Tue, Dec 15, 2020 at 04:44:39PM +0100, Ricardo Ribalda wrote: > > Some devices, can only read the privacy_pin if the device is > > streaming. > > :-( :"-( > > > This patch implement a

Re: [PATCH v4 9/9] media: uvcvideo: Implement UVC_QUIRK_PRIVACY_DURING_STREAM

2020-12-20 Thread Ricardo Ribalda
Hi Laurent On Mon, Dec 21, 2020 at 3:08 AM Laurent Pinchart wrote: > > Hi Ricardo, > > On Mon, Dec 21, 2020 at 02:10:18AM +0100, Ricardo Ribalda wrote: > > On Sun, Dec 20, 2020 at 6:22 PM Laurent Pinchart wrote: > > > On Tue, Dec 15, 2020 at 04:44:39PM +0100, Ricardo Ribalda wrote: > > > > Some

Re: [PATCH v4 9/9] media: uvcvideo: Implement UVC_QUIRK_PRIVACY_DURING_STREAM

2020-12-20 Thread Laurent Pinchart
Hi Ricardo, On Mon, Dec 21, 2020 at 02:10:18AM +0100, Ricardo Ribalda wrote: > On Sun, Dec 20, 2020 at 6:22 PM Laurent Pinchart wrote: > > On Tue, Dec 15, 2020 at 04:44:39PM +0100, Ricardo Ribalda wrote: > > > Some devices, can only read the privacy_pin if the device is > > > streaming. > > > >

Re: [PATCH v4 9/9] media: uvcvideo: Implement UVC_QUIRK_PRIVACY_DURING_STREAM

2020-12-20 Thread Laurent Pinchart
Hi Ricardo, Thank you for the patch. On Tue, Dec 15, 2020 at 04:44:39PM +0100, Ricardo Ribalda wrote: > Some devices, can only read the privacy_pin if the device is > streaming. :-( > This patch implement a quirk for such devices, in order to avoid invalid > reads and/or spurious events. > >

[PATCH v4 9/9] media: uvcvideo: Implement UVC_QUIRK_PRIVACY_DURING_STREAM

2020-12-15 Thread Ricardo Ribalda
Some devices, can only read the privacy_pin if the device is streaming. This patch implement a quirk for such devices, in order to avoid invalid reads and/or spurious events. Signed-off-by: Ricardo Ribalda --- drivers/media/usb/uvc/uvc_driver.c | 97 ++