Commit 98c3b322 authored by Antoine Ténart's avatar Antoine Ténart Committed by Kishon Vijay Abraham I
Browse files

phy: exynos-mipi-video: fix check on array index

The phys array is of size EXYNOS_MIPI_PHYS_NUM. Trying to access the
index EXYNOS_MIPI_PHYS_NUM should return an error.

Fixes: 069d2e26

 "phy: Add driver for Exynos MIPI CSIS/DSIM DPHYs"

Signed-off-by: default avatarAntoine Ténart <antoine.tenart@free-electrons.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent fe04e429
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment