OSDN Git Service

media: exynos4-is: Add missed check for pinctrl_lookup_state()
authorChuhong Yuan <hslester96@gmail.com>
Thu, 28 May 2020 06:41:47 +0000 (08:41 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 4 Jul 2020 10:44:12 +0000 (12:44 +0200)
commit18ffec750578f7447c288647d7282c7d12b1d969
treea617eb18c0bb9dd0143a2b2da85965a5650bd4d4
parent875c0d75954f022b2118f8dbfe57b96021de383b
media: exynos4-is: Add missed check for pinctrl_lookup_state()

fimc_md_get_pinctrl() misses a check for pinctrl_lookup_state().
Add the missed check to fix it.

Fixes: 4163851f7b99 ("[media] s5p-fimc: Use pinctrl API for camera ports configuration]")
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/exynos4-is/media-dev.c