MLK-17230-12: camera: fixed enum frame interval issue
authorGuoniu.Zhou <guoniu.zhou@nxp.com>
Tue, 6 Feb 2018 03:34:13 +0000 (11:34 +0800)
committerHaibo Chen <haibo.chen@nxp.com>
Thu, 12 Apr 2018 10:45:43 +0000 (18:45 +0800)
commit012a9f57c9ec72d11fe00711c409af38cabda661
tree8c47c9a3cb416a6f14e012e5690250b47bd9fdcb
parentacac1e8bae494a1d90b16d61d8b557b84278dd4c
MLK-17230-12: camera: fixed enum frame interval issue

when enum frame interval, kernel will be panic. It caused by
an null pointer, so correct the subdev data structure pointer.

ov5640 only support 15fps when mode is 1080P, so add this info
when user enum frame interval.

Reviewed-by: Sandor.Yu <sandor.yu@nxp.com>
Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
(cherry picked from commit 4089120ce5fbcb253728a23102a62c849b71c88b)
drivers/media/platform/imx8/mxc-mipi-csi2.c
drivers/media/platform/imx8/mxc-parallel-csi.c
drivers/media/platform/imx8/ov5640_v3.c