media: imx: imx7_mipi_csis: Reject invalid data-lanes settings
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 13 Apr 2021 02:30:12 +0000 (04:30 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 23 May 2021 17:21:33 +0000 (19:21 +0200)
commit88fc81388df942e580b65afa197c97c490b5b855
treecb11f9eb726e03ca427532e49b336978d218d841
parent7479454cfef039f208cfd1e5b6cead38dc0caa05
media: imx: imx7_mipi_csis: Reject invalid data-lanes settings

The CSIS doesn't support data lanes reordering. Reject invalid settings.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/imx/imx7-mipi-csis.c