Re: [PATCH v2] rcar-vin: Do not enumerate unsupported pixel formats

2019-10-14 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Mon, Oct 14, 2019 at 02:07:50AM +0200, Niklas Söderlund wrote: > If a pixel format is not supported by the hardware NULL is returned by > rvin_format_from_pixel() for that fourcc. Verify that the pixel format > is supported using this or skip it when enumera

[PATCH v2] rcar-vin: Do not enumerate unsupported pixel formats

2019-10-13 Thread Niklas Söderlund
If a pixel format is not supported by the hardware NULL is returned by rvin_format_from_pixel() for that fourcc. Verify that the pixel format is supported using this or skip it when enumerating. Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 20 +++-