[PATCH v2 12/16] media: imx-pxp: Pass pixel format value to find_format()

Philipp Zabel p.zabel at pengutronix.de
Fri Jan 13 03:46:43 PST 2023


On Fr, 2023-01-13 at 10:54 +0100, Michael Tretter wrote:
> From: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> 
> The find_format() function looks up format information for a given pixel
> format. It takes a v4l2_format pointer, but only uses the contained
> pixel format value. To prepare it for being used by callers that don't
> have v4l2_format, modify it to take the pixel format value directly.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> Reviewed-by: Michael Tretter <m.tretter at pengutronix.de>
> Signed-off-by: Michael Tretter <m.tretter at pengutronix.de>

Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>

regards
Philipp



More information about the linux-arm-kernel mailing list