mirror of https://gitee.com/openkylin/linux.git
media: imx214: Remove redundant code
The pad is now checked by v4l2_subdev_call_wappers call_g_frame_interval-> check_frame_interval-> check_pad Signed-off-by: Ricardo Ribalda Delgado <ribalda@kernel.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
f1a64f5666
commit
791b7be14e
|
@ -803,7 +803,6 @@ static int imx214_s_stream(struct v4l2_subdev *subdev, int enable)
|
|||
static int imx214_g_frame_interval(struct v4l2_subdev *subdev,
|
||||
struct v4l2_subdev_frame_interval *fival)
|
||||
{
|
||||
fival->pad = 0;
|
||||
fival->interval.numerator = 1;
|
||||
fival->interval.denominator = IMX214_FPS;
|
||||
|
||||
|
|
Loading…
Reference in New Issue