Hello, This patch series is an attempt to fix the issue reported by Tim Harvey in [1]. Both Alexander Stein and Fabio Estevam gave this a try in [2] and [3] respectively, with Alexander's self-nacking his patches and Fabio's solution receiving requests for changes during review. Compared to those attempts, this version implements a simpler fix for the issue (in patch 1/3), before addressing a TODO item (patch 2/3) and cleaning up includes as a drive-by improvement (patch 3/3). The series doesn't need to be merged in one go. Patch 1/3 can get merged as a fix for v6.5, while patches 2/3 and 3/3 can wait until v6.6. Tim, would you be able to test this ? [1] https://lore.kernel.org/linux-media/CAJ+vNU0BOVLTL17ofgHwtexbpuMYwH_aGUC==EXABUtHHiv_ag@xxxxxxxxxxxxxx/ [2] https://lore.kernel.org/linux-media/20230720074129.3680269-1-alexander.stein@xxxxxxxxxxxxxxx [3] https://lore.kernel.org/linux-media/20230720222543.1740198-1-festevam@xxxxxxxxx Fabio Estevam (1): media: imx: imx7-media-csi: Fix applying format constraints Laurent Pinchart (2): media: imx: imx7-media-csi: Fix frame sizes enumeration media: imx: imx7-media-csi: Include headers explicitly drivers/media/platform/nxp/imx7-media-csi.c | 48 +++++++++++++++------ 1 file changed, 34 insertions(+), 14 deletions(-) -- Regards, Laurent Pinchart