]> git.baikalelectronics.ru Git - kernel.git/commit
media: imx: csis: Store pads format separately
authorJacopo Mondi <jacopo@jmondi.org>
Tue, 22 Feb 2022 21:46:43 +0000 (22:46 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 23 Feb 2022 07:53:08 +0000 (08:53 +0100)
commit0b9a113a757b47532ecdcc0d8efff59560d6328a
treeee3fbf2e128c63b44c5f0c771ddb97f546ff1792
parentee5f787101fcf77ba6de807df0a4bb9be7d9ecdc
media: imx: csis: Store pads format separately

As the formats on the sink and source pad might be different store
them separately.

The pad format is used to configure the image width and height in
mipi_csis_system_enable(). As the csis cannot downscale, using the sink
or the source one isn't relevant.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/imx/imx-mipi-csis.c