Message ID | 20200623165550.45835-2-jacopo@jmondi.org |
---|---|
State | Superseded |
Headers | show |
Series | [01/25] dt-bindings: media: ov5647: Document pwdn-gpios | expand |
diff --git a/drivers/media/i2c/ov5647.c b/drivers/media/i2c/ov5647.c index ac114269e1c73..35865e56de5f9 100644 --- a/drivers/media/i2c/ov5647.c +++ b/drivers/media/i2c/ov5647.c @@ -1418,7 +1418,7 @@ static int ov5647_probe(struct i2c_client *client) sd = &sensor->sd; v4l2_i2c_subdev_init(sd, client, &ov5647_subdev_ops); sd->internal_ops = &ov5647_subdev_internal_ops; - sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; + sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE | V4L2_SUBDEV_FL_HAS_EVENTS; sensor->pad.flags = MEDIA_PAD_FL_SOURCE; sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;