commit | 98c3b32229f2685c13436b652b8959c99dfc5a31 | [log] [tgz] |
---|---|---|
author | Antoine Ténart <antoine.tenart@free-electrons.com> | Mon May 12 14:56:28 2014 +0200 |
committer | Kishon Vijay Abraham I <kishon@ti.com> | Mon May 12 19:02:02 2014 +0530 |
tree | 7e7c77d9bb5eb7ef8abbc28595f9e9daed31ac90 | |
parent | fe04e4297e6eab014a2cf152319b9f361df07faf [diff] |
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: 069d2e26e9d6 "phy: Add driver for Exynos MIPI CSIS/DSIM DPHYs" Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>