diff options
Diffstat (limited to 'drivers/media/platform/exynos4-is/mipi-csis.c')
-rw-r--r-- | drivers/media/platform/exynos4-is/mipi-csis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/exynos4-is/mipi-csis.c b/drivers/media/platform/exynos4-is/mipi-csis.c index fd1ae6549607..3678ba59725c 100644 --- a/drivers/media/platform/exynos4-is/mipi-csis.c +++ b/drivers/media/platform/exynos4-is/mipi-csis.c | |||
@@ -772,7 +772,7 @@ static int s5pcsis_parse_dt(struct platform_device *pdev, | |||
772 | /* Get port node and validate MIPI-CSI channel id. */ | 772 | /* Get port node and validate MIPI-CSI channel id. */ |
773 | v4l2_of_parse_endpoint(node, &endpoint); | 773 | v4l2_of_parse_endpoint(node, &endpoint); |
774 | 774 | ||
775 | state->index = endpoint.port - FIMC_INPUT_MIPI_CSI2_0; | 775 | state->index = endpoint.base.port - FIMC_INPUT_MIPI_CSI2_0; |
776 | if (state->index < 0 || state->index >= CSIS_MAX_ENTITIES) | 776 | if (state->index < 0 || state->index >= CSIS_MAX_ENTITIES) |
777 | return -ENXIO; | 777 | return -ENXIO; |
778 | 778 | ||