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)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit54e928c2596494c46abac5bb5812b0dc2951fe62
treee8eda47a8d8063da801cc784231d7b74df1e1883
parent3b354e30c80b601f060677886ef3f0bcd6ce2d42
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/ov5640_v3.c