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

2019-09-09 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Fri, Sep 06, 2019 at 04:35:00PM +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] rcar-vin: Do not enumerate unsupported pixel formats

2019-09-06 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 | 12 +++- 1