Re: [Patch 2/2] media: use v4l2_rect_enclosed helper

2020-05-30 Thread Lad, Prabhakar
Hi Benoit, Thank you for the patch. On Thu, May 28, 2020 at 2:26 PM Benoit Parrot wrote: > > Several drivers implement the same enclosed_rectangle() function to > check if a rectangle is enclosed into another. Replace this with the > newly added v4l2_rect_enclosed() helper function. > > Signed-o

Re: [Patch 2/2] media: use v4l2_rect_enclosed helper

2020-05-29 Thread Andrzej Pietrasiewicz
Hi Benoit, Thank you for the patch. W dniu 28.05.2020 o 15:26, Benoit Parrot pisze: Several drivers implement the same enclosed_rectangle() function to check if a rectangle is enclosed into another. Replace this with the newly added v4l2_rect_enclosed() helper function. Signed-off-by: Benoit P

[Patch 2/2] media: use v4l2_rect_enclosed helper

2020-05-28 Thread Benoit Parrot
Several drivers implement the same enclosed_rectangle() function to check if a rectangle is enclosed into another. Replace this with the newly added v4l2_rect_enclosed() helper function. Signed-off-by: Benoit Parrot --- drivers/media/platform/am437x/am437x-vpfe.c | 19 +++ .../